assertTrue(plugin.isAuthenticationEnabled());
}
public void testAuthenticationEnabledWhenInstalled() throws Exception {
ShiroPlugin plugin = new ShiroPlugin();
plugin.setEnvironment(new DefaultEnvironment());
plugin.installPlugin(new MutableBrokerFilter(null));
assertTrue(plugin.isAuthenticationEnabled());
plugin.setAuthenticationEnabled(false);