* Test model object with three constructors, and make sure that one with @Inject is picked for instantiation.
* Test mixing of constructor injection and field injection as well.
*/
@Test
public void testThreeConstructorsOneInjectInjection() {
WithThreeConstructorsOneInjectModel model = factory.getAdapter(request,
WithThreeConstructorsOneInjectModel.class);
assertNotNull(model);
assertNull(model.getRequest());
assertEquals(INT_VALUE, model.getAttribute());
assertEquals(STRING_VALUE, model.getAttribute2());
}