package org.onap.portalsdk.analytics.model.definition;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.FileInputStream;
@Test
public void testRemoveEmailToUser() {
reportSchedule.removeEmailToUser("1");
+ List value=reportSchedule.getEmailToUsers();
+ boolean removed=value.contains(value);
+ assertFalse(removed);
}
@Test
public void testRemoveEmailToRole() {
reportSchedule.removeEmailToRole("roleID1");
+ List value=reportSchedule.getEmailToRoles();
+ boolean removed=value.contains(value);
+ assertFalse(removed);
}
@Test
reportSchedule.setAttachmentMode("Y");
assertTrue(reportSchedule.isAttachmentMode());
}
+
@Test
public void testSetConditional() {