diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-03-29 14:05:23 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-03-29 14:05:28 +0800 |
commit | ad1aff2bdebf0956f3ab2856ca723565423c673d (patch) | |
tree | cdbd9ae5a48ac5a8c6d6a24418645330d8c0cbbb | |
parent | 95b7648a4e67639a6404ae93de9ea9e6c6c479e4 (diff) |
improve sonar coverage for uui-server
Change-Id: I6953ae216c4160767f287c6a018720f8280f4889
Issue-ID: USECASEUI-103
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java | 6 |
1 files changed, 6 insertions, 0 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 5c1913ec..94b87a66 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 @@ -101,6 +101,12 @@ public class AlarmsHeaderServiceImplTest { public Transaction beginTransaction() { return transaction; } + @Mock + public void save(Object object) { + } + @Mock + public void flush() { + } }; new MockUp<SessionFactory>() { @Mock |