This allows mocking injection tokens directly like:
const STRING_TOKEN = new InjectionToken<string>('A string injection token');
const FUNCTION_TOKEN = new InjectionToken<() => string>('A function injection token');
// Can now be mocked with:
shallow
.mock(STRING_TOKEN, 'mocked value')
.mock(FUNCTION_TOKEN, () => 'mocked function return');
Addresses deficiencies noted in #153
This allows mocking injection tokens directly like: