aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/config/MockedAaiClientAndFeatureManagerConfig.java
blob: 1a4eb528eaaf362b85823a8ddca048d4c6304c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.onap.vid.config;

import org.mockito.Mockito;
import org.onap.vid.aai.AaiClientInterface;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.togglz.core.manager.FeatureManager;

@Configuration
public class MockedAaiClientAndFeatureManagerConfig {

    @Bean
    public FeatureManager featureManager() {
        return Mockito.mock(FeatureManager.class);
    }

    @Bean
    public AaiClientInterface aaiClient() {
        return Mockito.mock(AaiClientInterface.class);
    }
}