blob: bd2f3f5017184537d25bc848b84bab17dda81f35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
package com.juick.configuration;
import com.juick.service.*;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;
/**
* Created by vitalyster on 12.01.2017.
*/
public class MockDataConfiguration {
@Bean
MessagesService messagesService() {
return Mockito.mock(MessagesService.class);
}
@Bean
UserService userService() {
return Mockito.mock(UserService.class);
}
@Bean
TagService tagService() {
return Mockito.mock(TagService.class);
}
@Bean
PushQueriesService pushQueriesService() {
return Mockito.mock(PushQueriesService.class);
}
@Bean
SubscriptionService subscriptionService() {
return Mockito.mock(SubscriptionService.class);
}
@Bean
PMQueriesService pmQueriesService() {
return Mockito.mock(PMQueriesService.class);
}
@Bean
TelegramService telegramService() {
return Mockito.mock(TelegramService.class);
}
@Bean
CrosspostService crosspostService() {
return Mockito.mock(CrosspostService.class);
}
@Bean
EmailService emailService() {
return Mockito.mock(EmailService.class);
}
}
|