diff options
author | Vitaly Takmazov | 2017-10-09 15:27:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-10 09:37:31 +0300 |
commit | 448fc7e84732422011186a9a4633c345e9c6208e (patch) | |
tree | 7ec23a9f29939fecf6456956ead6cebd1338871d /juick-server-jdbc/src/test/java/com/juick/configuration | |
parent | 443daa747298de315840cdd6ee6992519707e61a (diff) |
xmpp:ConnectionOut -> StreamServerDialback
Diffstat (limited to 'juick-server-jdbc/src/test/java/com/juick/configuration')
-rw-r--r-- | juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java b/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java index 4676f97a..a4e21bc6 100644 --- a/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java +++ b/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java @@ -19,6 +19,7 @@ package com.juick.configuration; import com.juick.service.*; import org.mockito.Mockito; +import org.mockito.NotExtensible; import org.springframework.context.annotation.Bean; /** @@ -61,4 +62,8 @@ public class MockDataConfiguration { EmailService emailService() { return Mockito.mock(EmailService.class); } + @Bean + ShowQueriesService showQueriesService() { + return Mockito.mock(ShowQueriesService.class); + } } |