@@ -0,0 +1,891 @@
+package com.github.neunkasulle.chronocommand.model;%0A%0Aimport com.github.neunkasulle.chronocommand.control.UeberTest;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by Janze on 28.02.2016.%0A *%0A */%0Apublic class CategoryTest extends UeberTest %7B%0A%0A%0A    @Test%0A    public void testSetName() throws Exception %7B%0A        Category category = new Category(%22WUPWUP%22);%0A%0A        category.setName(%22FOO%22);%0A%0A        assertEquals(%22FOO%22, category.getName());%0A    %7D%0A%0A    @Test%0A    public void testHashCode() throws Exception %7B%0A        CategoryDAO categoryDAO = CategoryDAO.getInstance();%0A%0A        assertNotEquals(categoryDAO.findCategoryByString(%22Programming%22).hashCode(),%0A                categoryDAO.findCategoryByString(%22Procrastination%22).hashCode());%0A    %7D%0A%0A    @Test%0A    public void testEqualsFail() throws Exception %7B%0A%0A        assertFalse(new Category().equals(new User()));%0A    %7D%0A%7D

add category model test