add unit test for WhenInjectedIntoOneOf method with concrete types