assertNotNull(r1.getDependency1());
assertNotNull(r1.getDependency2());
assertNull(r1.getNonInjectedDependency());
// #2 No deps
SomeResource2 r2 = factory.create(SomeResource2.class);
assertNotNull(r2);
// #3 bean not registered with ResourceFactory
try
{