2 * Copyright (c) 2016 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.aaa.shiroact;
11 import static org.junit.Assert.*;
13 import org.junit.Test;
14 import org.opendaylight.aaa.shiro.ServiceProxy;
16 public class ActivatorTest {
19 public void testActivatorEnablesServiceProxy() throws Exception {
20 // should toggle the ServiceProxy enable status to true
21 new Activator().init(null, null);;
22 assertTrue(ServiceProxy.getInstance().getEnabled(null));