fail("IllegalArgumentException should be thrown.");
}
@SuppressWarnings("unchecked")
public void testDummy() {
DefaultLifecycleManager defaultOFFactory = new DefaultLifecycleManager();
try {
defaultOFFactory.createObjectFactory(new Dummy());
fail("IllegalArgumentException should be thrown.");
} catch (IllegalArgumentException e) {
}
try {
defaultOFFactory.createObjectFactory(Dummy.class);
fail("IllegalArgumentException should be thrown.");
} catch (IllegalArgumentException e) {
}
}