use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class IllegalUnitOfWorkInjectionTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
module.transients(TrialTransient.class);
new EntityTestAssembler().assemble(module);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class EntityCompositeEqualityTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
new EntityTestAssembler(Visibility.layer).assemble(module);
module.objects(EntityCompositeEqualityTest.class);
module.entities(MyComposite.class);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class EntityTypeTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
module.entities(Rst.class);
new EntityTestAssembler().assemble(module);
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class AssociationTest method assemble.
public void assemble(ModuleAssembly module) throws AssemblyException {
new EntityTestAssembler().assemble(module);
module.entities(AssociationTest.Person.class, AssociationTest.Company.class);
module.forMixin(Employer.class).setMetaInfo(new DisplayInfo("Employees", "Employees in the company", "Employees", null)).declareDefaults().employees();
module.forMixin(Company.class).declareDefaults().name().set("A Company");
}
use of org.qi4j.test.EntityTestAssembler in project qi4j-sdk by Qi4j.
the class AssociationEqualityTest method assemble.
//
// --------------------------------------:: Types under test ::-----------------------------------------------------
//
@Override
public void assemble(ModuleAssembly module) throws AssemblyException {
new EntityTestAssembler().assemble(module);
module.entities(AnEntity.class);
module.values(SomeWithAssociations.class, OtherWithAssociations.class);
}
Aggregations