Search in sources :

Example 1 with MockCfgService

use of org.opencord.aaa.impl.AaaTestBase.MockCfgService in project aaa by opencord.

the class AaaIntegrationTest method setUp.

/**
 * Sets up the services required by the AAA application.
 */
@Before
public void setUp() {
    aaa = new AaaManager();
    aaa.netCfgService = new TestNetworkConfigRegistry();
    aaa.coreService = new CoreServiceAdapter();
    aaa.packetService = new MockPacketService();
    aaa.cfgService = new MockCfgService();
    aaa.activate(new AaaTestBase.MockComponentContext());
}
Also used : CoreServiceAdapter(org.onosproject.core.CoreServiceAdapter) MockCfgService(org.opencord.aaa.impl.AaaTestBase.MockCfgService) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 CoreServiceAdapter (org.onosproject.core.CoreServiceAdapter)1 MockCfgService (org.opencord.aaa.impl.AaaTestBase.MockCfgService)1