@Test public void simulate() { assertNotNull(validateRights.cannotRead()); validateRights.simulate(); verify(stream).append( "\n┌─────┬────┬──────┐\n" + "│Group│Path│Rights│\n" + "├┬┬┬┬┬┼┬┬┬┬┼┬┬┬┬┬┬┤\n" + "└┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┘\n\n"); }
@Override public void simulate() { validate(true); }
ValidateAccessRightsImpl implements ValidateAccessRights { @Override public void simulate() { validate(true); } }
ValidateAccessRightsImpl implements ValidateAccessRights { @Override public void simulate() { validate(true); } ValidateAccessRightsImpl(ResourceResolverFactory resourceResolverFactory, ResourceResolver resolver,
            Replicator replicator, ScriptContext scriptContext); }
ValidateAccessRightsImpl implements ValidateAccessRights { @Override public void simulate() { validate(true); } ValidateAccessRightsImpl(ResourceResolverFactory resourceResolverFactory, ResourceResolver resolver,
            Replicator replicator, ScriptContext scriptContext); @Override ValidateAccessRights forPaths(String... paths); @Override ValidateAccessRights forGroups(String... groups); @Override ValidateAccessRights canRead(); @Override ValidateAccessRights cannotRead(); @Override ValidateAccessRights canModify(); @Override ValidateAccessRights cannotModify(); @Override ValidateAccessRights canCreate(); @Override ValidateAccessRights cannotCreate(); @Override ValidateAccessRights canDelete(); @Override ValidateAccessRights cannotDelete(); @Override ValidateAccessRights canReplicate(); @Override ValidateAccessRights cannotReplicate(); @Override ValidateAccessRights canReadAcl(); @Override ValidateAccessRights cannotReadAcl(); @Override ValidateAccessRights canWriteAcl(); @Override ValidateAccessRights cannotWriteAcl(); @Override ValidateAccessRights canReadPage(); @Override ValidateAccessRights cannotReadPage(); @Override ValidateAccessRights canCreatePage(String templatePath); @Override ValidateAccessRights cannotCreatePage(String templatePath); @Override ValidateAccessRights canModifyPage(); @Override ValidateAccessRights cannotModifyPage(); @Override ValidateAccessRights canDeletePage(); @Override ValidateAccessRights cannotDeletePage(); @Override ValidateAccessRights canReplicatePage(ReplicationActionType type); @Override ValidateAccessRights canReplicatePage(); @Override ValidateAccessRights cannotReplicatePage(); @Override ValidateAccessRights cannotReplicatePage(ReplicationActionType type); @Override void validate(boolean simulate); @Override void validate(); @Override void simulate(); @Override ValidateAccessRights failOnError(); @Override ValidateAccessRights failOnError(boolean fail); }
ValidateAccessRightsImpl implements ValidateAccessRights { @Override public void simulate() { validate(true); } ValidateAccessRightsImpl(ResourceResolverFactory resourceResolverFactory, ResourceResolver resolver,
            Replicator replicator, ScriptContext scriptContext); @Override ValidateAccessRights forPaths(String... paths); @Override ValidateAccessRights forGroups(String... groups); @Override ValidateAccessRights canRead(); @Override ValidateAccessRights cannotRead(); @Override ValidateAccessRights canModify(); @Override ValidateAccessRights cannotModify(); @Override ValidateAccessRights canCreate(); @Override ValidateAccessRights cannotCreate(); @Override ValidateAccessRights canDelete(); @Override ValidateAccessRights cannotDelete(); @Override ValidateAccessRights canReplicate(); @Override ValidateAccessRights cannotReplicate(); @Override ValidateAccessRights canReadAcl(); @Override ValidateAccessRights cannotReadAcl(); @Override ValidateAccessRights canWriteAcl(); @Override ValidateAccessRights cannotWriteAcl(); @Override ValidateAccessRights canReadPage(); @Override ValidateAccessRights cannotReadPage(); @Override ValidateAccessRights canCreatePage(String templatePath); @Override ValidateAccessRights cannotCreatePage(String templatePath); @Override ValidateAccessRights canModifyPage(); @Override ValidateAccessRights cannotModifyPage(); @Override ValidateAccessRights canDeletePage(); @Override ValidateAccessRights cannotDeletePage(); @Override ValidateAccessRights canReplicatePage(ReplicationActionType type); @Override ValidateAccessRights canReplicatePage(); @Override ValidateAccessRights cannotReplicatePage(); @Override ValidateAccessRights cannotReplicatePage(ReplicationActionType type); @Override void validate(boolean simulate); @Override void validate(); @Override void simulate(); @Override ValidateAccessRights failOnError(); @Override ValidateAccessRights failOnError(boolean fail);  }