Assert.assertNotNull("subjtype not null", subj.getSubjectType() );
Assert.assertNotNull("subjtype not null", subj.getType() );
  public void testSubjectInterfaceLookup() {    String id   = Constants.mem0I;    String type = Constants.mem0T;    Subject subj  = SubjectFactory.getSubject(id, type);    Assert.assertNotNull("subj not null", subj);    Assert.assertTrue(                      "subj right class",                        Constants.KLASS_SI.equals( subj.getClass().getName() )                      );    Assert.assertTrue("id matches",  id.equals( subj.getId() ) );    String name   = "Person";    Assert.assertNotNull("subjtype not null", subj.getSubjectType() );    Assert.assertTrue(                      "subjtype name matches",                         name.equals( subj.getSubjectType().getName() )                      );    Assert.assertTrue(                      "subjtype id matches",                        type.equals( subj.getSubjectType().getId() )                      );  }