@Test
public void testGetDepotGroupsWithSite() throws Exception {

	Group group = getSiteGroup();
	Mockito.when(
		_user.getGroups()
	).thenReturn(
		Collections.singletonList(group)
	);
	DepotAdminMembershipsDisplayContext
		depotAdminMembershipsDisplayContext =
			new DepotAdminMembershipsDisplayContext(
				Mockito.mock(ItemSelector.class),
				_getLiferayPortletRequest(
					new ThemeDisplayBuilder().build()),
				null);
	List<Group> depots = depotAdminMembershipsDisplayContext.getDepotGroups(
		0, 20);
	Assert.assertEquals(depots.toString(), 0, depots.size());
}