@Test
public void testClusterClientShutdown() throws Exception {

	Configuration config = new Configuration();
	HighAvailabilityServices highAvailabilityServices = mock(HighAvailabilityServices.class);
	ClusterClient clusterClient = new StandaloneClusterClient(config, highAvailabilityServices);
	clusterClient.shutdown();
	// check that the client does not clean up HA data but closes the services
	verify(highAvailabilityServices, never()).closeAndCleanupAllData();
	verify(highAvailabilityServices).close();
}