// Find it
uow = assembler.module().newUnitOfWork();
try
{
Data data = uow.newQuery( assembler.module()
.newQueryBuilder( Data.class )
.where( eq( templateFor( Data.class ).foo(), "FooFoo" ) ) ).find();
Assert.assertEquals( "FooFoo", data.foo().get() );
}
finally