@Test
public void shouldServiceQuitWhenCalledWithEmptyContext() {

  // GIVEN
  EasyMock.expect(configurationMock.isUserHookEnabled()).andReturn(Boolean.TRUE);
  EasyMock.expect(clustersMap.isEmpty()).andReturn(Boolean.FALSE);
  EasyMock.expect(clustersMock.getClusters()).andReturn(clustersMap);
  replayAll();
  // WHEN
  Boolean triggered = hookService.execute(new PostUserCreationHookContext(Collections.<String, Set<String>>emptyMap()));
  //THEN
  Assert.assertFalse("The hook should not be triggered if there is no users in the context!", triggered);
}