ReadPolicy implements NamedAccessControlPolicy { @Override public String getName() { return "Grants read access on configured trees."; } private  ReadPolicy(); @Override String getName(); static final NamedAccessControlPolicy INSTANCE; }
@Test public void testGetName() throws Exception { assertEquals("Grants read access on configured trees.", ReadPolicy.INSTANCE.getName()); }