}
};
TestObject testObject = new TestObject();
injector.inject(testObject, factory);
assertTrue(testObject.getDependency1() == null);
assertEquals(testObject.getDependency2().getMessage(), "dont-inject");
assertEquals(testObject.getDependency3().getMessage(), "dont-inject");
assertEquals(testObject.getDependency4().getMessage(), "inject");