@Test
public void testSubjectToString() {

    Subject subject = new PermsSubject() {
        @Override
        public PrincipalCollection getPrincipals() {
            return null;
        }
    };
    String string = filter.toString(subject);
    assertEquals("", string);
}