Merge 1806 code of vid-common
[vid.git] / vid-app-common / src / test / java / org / onap / vid / config / MockedAaiClientAndFeatureManagerConfig.java
1 package org.onap.vid.config;
2
3 import org.mockito.Mockito;
4 import org.onap.vid.aai.AaiClientInterface;
5 import org.springframework.context.annotation.Bean;
6 import org.springframework.context.annotation.Configuration;
7 import org.togglz.core.manager.FeatureManager;
8
9 @Configuration
10 public class MockedAaiClientAndFeatureManagerConfig {
11
12     @Bean
13     public FeatureManager featureManager() {
14         return Mockito.mock(FeatureManager.class);
15     }
16
17     @Bean
18     public AaiClientInterface aaiClient() {
19         return Mockito.mock(AaiClientInterface.class);
20     }
21 }