PrincipalImpl implements JackrabbitPrincipal { @Override public String getName() { return name; } PrincipalImpl(String name); @Override String getName(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testGetName() { assertEquals("name", principal.getName()); }