@Test
public void testGetAllCategoriesByName()
{
System.out.println("getAllCategoriesByName");
assertTrue(instance.isOpen());
Category newCat = new Category("Bob");
newCat.setId(5L);
instance.create(newCat);
List<Category> resultList = instance.getAllCategoriesByName();
assertNotNull(resultList);
assertEquals(4, resultList.size());
assertEquals("Array", resultList.get(0).getName());