assertEquals(1, service.getUsers().size());
assertEquals(1, service.getUserCount());
assertEquals(0, service.getUserGroups().size());
assertEquals(0, service.getGroupCount());
GeoServerUser admin= service.getUserByUsername(GeoServerUser.ADMIN_USERNAME);
assertNotNull(admin);
assertEquals(GeoServerUser.AdminEnabled,admin.isEnabled());
GeoServerMultiplexingPasswordEncoder enc= getEncoder(service);
assertTrue(enc.isPasswordValid(admin.getPassword(), GeoServerUser.DEFAULT_ADMIN_PASSWD,null));
assertEquals(admin.getProperties().size(),0);
assertEquals(0, service.getGroupsForUser(admin).size());
} catch (IOException ex) {
Assert.fail(ex.getMessage());