@Test public void getCategory_shouldFindExistingCategory() { Category existingCategory = createCategoryBuilderWithAllFields().build(); persistence.create(existingCategory); Category category = persistence.getCategory(existingCategory.getCategoryId()); assertHaveSamePersistentFields(existingCategory, category); }
@Override public Category getCategory(final String categoryId) { return read(categoryId); }
CategoryBasePersistence extends AbstractBasePersistence<Category, String> implements CategoryMapper { @Override public Category getCategory(final String categoryId) { return read(categoryId); } }
CategoryBasePersistence extends AbstractBasePersistence<Category, String> implements CategoryMapper { @Override public Category getCategory(final String categoryId) { return read(categoryId); }  }
CategoryBasePersistence extends AbstractBasePersistence<Category, String> implements CategoryMapper { @Override public Category getCategory(final String categoryId) { return read(categoryId); }  @Override List<Category> getCategoryList(); @Override Category getCategory(final String categoryId); }
CategoryBasePersistence extends AbstractBasePersistence<Category, String> implements CategoryMapper { @Override public Category getCategory(final String categoryId) { return read(categoryId); }  @Override List<Category> getCategoryList(); @Override Category getCategory(final String categoryId);  }