Search in sources :

Example 1 with UoWFileAssembler

use of org.qi4j.library.uowfile.bootstrap.UoWFileAssembler in project qi4j-sdk by Qi4j.

the class HasUoWFileTest method assemble.

@Override
public // START SNIPPET: assembly
void assemble(ModuleAssembly module) throws AssemblyException {
    new UoWFileAssembler().assemble(module);
    module.entities(TestedEntity.class).withMixins(TestedFileLocatorMixin.class);
    // END SNIPPET: assembly
    module.services(TestService.class);
    new EntityTestAssembler().assemble(module);
// START SNIPPET: assembly
}
Also used : UoWFileAssembler(org.qi4j.library.uowfile.bootstrap.UoWFileAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler)

Example 2 with UoWFileAssembler

use of org.qi4j.library.uowfile.bootstrap.UoWFileAssembler in project qi4j-sdk by Qi4j.

the class HasUoWFilesTest method assemble.

@Override
public // START SNIPPET: assembly
void assemble(ModuleAssembly module) throws AssemblyException {
    new UoWFileAssembler().assemble(module);
    module.entities(TestedEntity.class).withMixins(TestedFilesLocatorMixin.class);
    // END SNIPPET: assembly
    module.services(TestService.class);
    new EntityTestAssembler().assemble(module);
// START SNIPPET: assembly
}
Also used : UoWFileAssembler(org.qi4j.library.uowfile.bootstrap.UoWFileAssembler) EntityTestAssembler(org.qi4j.test.EntityTestAssembler)

Aggregations

UoWFileAssembler (org.qi4j.library.uowfile.bootstrap.UoWFileAssembler)2 EntityTestAssembler (org.qi4j.test.EntityTestAssembler)2