use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class ValueToEntityTest method assemble.
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
// START SNIPPET: assembly
new ValueToEntityAssembler().assemble(module);
// END SNIPPET: assembly
new EntityTestAssembler().assemble(module);
module.entities(PersonEntity.class);
module.values(PersonValue.class);
module.values(PersonValue2.class);
module.values(PersonValue3.class);
module.values(PersonValue4.class);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class UnitOfWorkCallbackEntityTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
module.entities(TestCase.class);
new EntityTestAssembler().assemble(module);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class Qi4jAPITest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
new EntityTestAssembler().assemble(module);
module.transients(TestTransient.class);
module.entities(TestEntity.class);
module.values(TestValue.class);
module.services(TestService.class);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class OptionalTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
module.transients(TestComposite.class);
module.transients(TestComposite2.class);
module.entities(TestComposite3.class, TestComposite4.class);
new EntityTestAssembler().assemble(module);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class AlarmPointImplTest method assemble.
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
module.services(TestAlarmModel.class);
module.services(AlarmSystemService.class);
module.entities(AlarmPointEntity.class);
module.values(AlarmEvent.class);
module.values(AlarmCategory.class);
module.values(AlarmStatus.class);
new EntityTestAssembler().assemble(module);
}
Aggregations