@Test
public void singletonUsingCustomConstructor() {
TypeConfig config = defaultBinder.instance(TestImplementation1.class).asSingleton(TestImplementation1.class)
.using(constructor(TestImplementation1.class, String.class, String.class)).build();
TypeContainer container;
container = config.getTypeContainer(null, TestImplementation1.class, null, null, null);
assertNotNull(container);
assertEquals(TestImplementation1.class, container.getType());
assertTrue(container.isSingleton());
assertEquals(InstanceMode.CONSTRUCTOR, container.getInstanceMode());
assertEquals(constructor(TestImplementation1.class, String.class, String.class), container.getConstructor());
assertNull(container.getFactoryMethod());
}