@SuppressWarnings("unchecked") @Test public void testGrant() { DummyAuthorityGranter sut = new DummyAuthorityGranter(); Set results = sut.grant(null); assertNull(results); }
@SuppressWarnings("unchecked") public Set grant(final Principal principal) { return null; }
DummyAuthorityGranter implements AuthorityGranter { @SuppressWarnings("unchecked") public Set grant(final Principal principal) { return null; } }
DummyAuthorityGranter implements AuthorityGranter { @SuppressWarnings("unchecked") public Set grant(final Principal principal) { return null; }  }
DummyAuthorityGranter implements AuthorityGranter { @SuppressWarnings("unchecked") public Set grant(final Principal principal) { return null; }  @SuppressWarnings("unchecked") Set grant(final Principal principal); }
DummyAuthorityGranter implements AuthorityGranter { @SuppressWarnings("unchecked") public Set grant(final Principal principal) { return null; }  @SuppressWarnings("unchecked") Set grant(final Principal principal);  }