assertEquals(ini, realm.getIni());
}
public void testSetSubjectFilter() {
ShiroPlugin plugin = new ShiroPlugin();
SubjectFilter filter = new SubjectFilter();
plugin.setSubjectFilter(filter);
assertSame(filter, plugin.getSubjectFilter());
//assert that the AuthenticationFilter is always the next filter in the chain after the SubjectFilter:
assertSame(plugin.getAuthenticationFilter(), filter.getNext());
}