@@ -0,0 +1,951 @@
+package com.github.neunkasulle.chronocommand.model;%0A%0Aimport com.github.neunkasulle.chronocommand.control.UeberTest;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0A/**%0A * Created by Janze on 28.02.2016.%0A *%0A */%0Apublic class RoleTest extends UeberTest %7B%0A%0A    @Test%0A    public void testGetId() %7B%0A%0A        assertTrue(UserDAO.getInstance().getRoleByName(%22SUPERVISOR%22).getId() %3E= 0);%0A    %7D%0A%0A    @Test%0A    public void testSetName() %7B%0A        Role role = new Role();%0A%0A        role.setName(%22FUU%22);%0A%0A        assertEquals(%22FUU%22, role.getName());%0A    %7D%0A%0A    @Test%0A    public void testGetDescription() %7B%0A        Role role = new Role();%0A%0A        role.setDescription(%22BAR%22);%0A%0A        assertEquals(%22BAR%22, role.getDescription());%0A    %7D%0A%0A    @Test%0A    public void testToString() %7B%0A        Role role = new Role();%0A%0A        role.setDescription(%22BAR%22);%0A%0A        assertEquals(%22BAR%22, role.toString());%0A    %7D%0A%7D

add role model test