use of org.simpleflatmapper.test.beans.DbFinalPrimitiveObject in project SimpleFlatMapper by arnaudroger.
the class BiInstantiatorFactoryTest method testInstantiateConstructorWithArgsAllPr.
@Test
public void testInstantiateConstructorWithArgsAllPr() throws Exception {
BiInstantiator<Object, Object, DbFinalPrimitiveObject> instantiator = DISABLE_ASM.getBiInstantiator(DbFinalPrimitiveObject.class, Object.class, Object.class, AsmInstantiatorDefinitionFactory.extractDefinitions(DbFinalPrimitiveObject.class), new HashMap<Parameter, BiFunction<? super Object, ? super Object, ?>>(), true, true);
DbFinalPrimitiveObject object = instantiator.newInstance(null, null);
assertNotNull(object);
}
use of org.simpleflatmapper.test.beans.DbFinalPrimitiveObject in project SimpleFlatMapper by arnaudroger.
the class BiInstantiatorFactoryTest method testInstantiateConstructorWithArgsAllPrAsm.
@Test
public void testInstantiateConstructorWithArgsAllPrAsm() throws Exception {
BiInstantiator<Object, Object, DbFinalPrimitiveObject> instantiator = ASM.getBiInstantiator(DbFinalPrimitiveObject.class, Object.class, Object.class, AsmInstantiatorDefinitionFactory.extractDefinitions(DbFinalPrimitiveObject.class), new HashMap<Parameter, BiFunction<? super Object, ? super Object, ?>>(), true, true);
DbFinalPrimitiveObject object = instantiator.newInstance(null, null);
assertNotNull(object);
}
use of org.simpleflatmapper.test.beans.DbFinalPrimitiveObject in project SimpleFlatMapper by arnaudroger.
the class InstantiatorFactoryTest method testInstantiateConstructorWithArgsAllPrAsm.
@Test
public void testInstantiateConstructorWithArgsAllPrAsm() throws Exception {
Instantiator<Object, DbFinalPrimitiveObject> instantiator = ASM.getInstantiator(DbFinalPrimitiveObject.class, Object.class, AsmInstantiatorDefinitionFactory.extractDefinitions(DbFinalPrimitiveObject.class), new HashMap<Parameter, Getter<? super Object, ?>>(), true, true);
DbFinalPrimitiveObject object = instantiator.newInstance(null);
assertNotNull(object);
}
use of org.simpleflatmapper.test.beans.DbFinalPrimitiveObject in project SimpleFlatMapper by arnaudroger.
the class InstantiatorFactoryTest method testInstantiateConstructorWithArgsAllPr.
@Test
public void testInstantiateConstructorWithArgsAllPr() throws Exception {
Instantiator<Object, DbFinalPrimitiveObject> instantiator = DISABLE_ASM.getInstantiator(DbFinalPrimitiveObject.class, Object.class, AsmInstantiatorDefinitionFactory.extractDefinitions(DbFinalPrimitiveObject.class), new HashMap<Parameter, Getter<? super Object, ?>>(), true, true);
DbFinalPrimitiveObject object = instantiator.newInstance(null);
assertNotNull(object);
}
Aggregations