sc.getCoverages(),
sc.list(CoverageInfo.class, Predicates.acceptAll()),
empty());
assertThatBoth(
sc.getWorkspaces(),
sc.list(WorkspaceInfo.class, Predicates.acceptAll()),
empty());
// try with write enabled user
SecurityContextHolder.getContext().setAuthentication(rwUser);
assertSame(states, sc.getFeatureTypeByName("topp:states"));