@@ -0,0 +1,958 @@
+package gov.nih.nci.cabig.caaers.domain.workflow;%0A%0Aimport gov.nih.nci.cabig.caaers.domain.PersonRole;%0Aimport junit.framework.TestCase;%0A/**%0A * %0A * @author Biju Joseph%0A *%0A */%0Apublic class RoleAssigneeTest extends TestCase %7B%0A%09RoleAssignee ra = new RoleAssignee();%0A%09protected void setUp() throws Exception %7B%0A%09%09super.setUp();%0A%09%7D%0A%0A%09public void testIsRole() %7B%0A%09%09assertTrue(ra.isRole());%0A%09%7D%0A%0A%09public void testIsUser() %7B%0A%09%09assertFalse(ra.isUser());%0A%09%7D%0A%0A%09public void testGetUserRole() %7B%0A%09%09ra.setUserRole(PersonRole.ADVERSE_EVENT_COORDINATOR);%0A%09%09assertSame(PersonRole.ADVERSE_EVENT_COORDINATOR, ra.getUserRole());%0A%09%7D%0A%0A%09public void testSetUserRole() %7B%0A%09%09ra.setUserRole(PersonRole.ADVERSE_EVENT_COORDINATOR);%0A%09%09assertSame(PersonRole.ADVERSE_EVENT_COORDINATOR, ra.getUserRole());%0A%09%7D%0A%0A%09public void testSetName() %7B%0A%09%09ra.setName(%22joel%22);%0A%09%09assertEquals(%22joel%22, ra.getName());%0A%09%7D%0A%0A%09public void testGetName() %7B%0A%09%09ra.setName(%22joel%22);%0A%09%09assertEquals(%22joel%22, ra.getName());%0A%09%7D%0A%0A%7D%0A

test cases improvement