diff options
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java index 92240d76..c674d192 100644 --- a/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java +++ b/server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java @@ -97,6 +97,11 @@ public class AlarmsHeaderServiceImplTest { public Object uniqueResult() { return "0"; } + @Mock + public List<AlarmsHeader> list() { + AlarmsHeader ah = new AlarmsHeader(); + return Arrays.asList(ah); + } }; MockUp<Session> mockedSession = new MockUp<Session>() { @Mock @@ -121,11 +126,6 @@ public class AlarmsHeaderServiceImplTest { @Mock public void update(Object object) { } - @Mock - public List<AlarmsHeader> list() { - AlarmsHeader ah = new AlarmsHeader(); - return Arrays.asList(ah); - } }; new MockUp<SessionFactory>() { @Mock |