@Override
	public ClientStat getCountForClientId(String clientId) {

		Collection<ApprovedSite> approvedSites = approvedSiteService.getByClientId(clientId);

		ClientStat stat = new ClientStat();
		stat.setApprovedSiteCount(approvedSites.size());

		return stat;
	}
@Test
	public void countForClientId() {
		// stats for ap1..ap4
		assertThat(service.getCountForClientId(clientId1).getApprovedSiteCount(), is(2));
		assertThat(service.getCountForClientId(clientId2).getApprovedSiteCount(), is(1));
		assertThat(service.getCountForClientId(clientId3).getApprovedSiteCount(), is(1));
		assertThat(service.getCountForClientId(clientId4).getApprovedSiteCount(), is(0));
	}