Access { public boolean getGranted() { return granted; }  Access setGranted(boolean granted); boolean getGranted(); @Override boolean equals(Object another); public boolean granted; }
@Test public void testGetGranted() { Access a = new Access(); a.setGranted(true); assertTrue(a.getGranted()); }