diff options
Diffstat (limited to 'holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java')
-rw-r--r-- | holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java index b0e3690..92658d6 100644 --- a/holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java +++ b/holmes-actions/src/test/java/org/onap/holmes/common/api/stat/AlarmTest.java @@ -190,18 +190,4 @@ public class AlarmTest { alarm.setCenterType(centerType); assertThat(centerType, equalTo(alarm.getCenterType())); } - - @Test - public void valueOf_exception() { - thrown.expect(Exception.class); - String xmlString = ""; - Alarm.valueOf(xmlString); - } - - @Test - public void valueOf_normal() { - String xmlString = alarm.toString(); - Alarm alarmValue = Alarm.valueOf(xmlString); - assertThat(alarmValue, equalTo(alarm)); - } } |