newItemType( uow, "Ear ring" );
uow.complete();
uow = unitOfWorkFactory.newUnitOfWork();
Iterable<ItemType> finalList = copyOf( uow.newQuery( qb ) );
assertTrue( "Band is not in the final list", hasItemTypeNamed( "Band", finalList ) );
assertTrue( "Bracelet is not in the final list", hasItemTypeNamed( "Bracelet", finalList ) );
assertTrue( "Necklace is not in the final list", hasItemTypeNamed( "Necklace", finalList ) );
assertTrue( "Watch is not in the final list", hasItemTypeNamed( "Watch", finalList ) );
assertTrue( "Ear ring is not in the final list", hasItemTypeNamed( "Ear ring", finalList ) );