WebState webState = createMock(WebState.class);
webState.addSPGroupToResolve(String.valueOf(principalId));
replay(dao, webState);
SharepointClientContext clientContext =
TestConfiguration.initContext(new MockClientFactory());
clientContext.setUserDataStoreDAO(dao);
GssPrincipal principal = new GssPrincipal(principalId, principalName,
PrincipalType.SPGROUP, new GssPrincipal[0], null);
Set<Principal> users = ImmutableSet.of(); // unwritable
Set<Principal> groups = Sets.newHashSet();