aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImplTest.java8
1 files changed, 4 insertions, 4 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 2ba3fcc3..10f76bfd 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
@@ -64,10 +64,10 @@ public class AlarmsHeaderServiceImplTest {
public Transaction beginTransaction() {
return transaction;
}
- //@Mock
- //public Object save(Object object) {
- // return null;
- //}
+ @Mock
+ public Object save(Object object) {
+ return new Object();
+ }
@Mock
public void flush() {
}