@Test
public void testDeactivate() {

	ClusterLinkImpl clusterLinkImpl = getClusterLinkImpl(1);
	List<TestClusterChannel> clusterChannels =
		TestClusterChannel.getClusterChannels();
	Assert.assertEquals(
		clusterChannels.toString(), 1, clusterChannels.size());
	TestClusterChannel clusterChannel = clusterChannels.get(0);
	ExecutorService executorService = clusterLinkImpl.getExecutorService();
	Assert.assertFalse(clusterChannel.isClosed());
	Assert.assertFalse(executorService.isShutdown());
	clusterLinkImpl.deactivate();
	Assert.assertTrue(clusterChannel.isClosed());
	Assert.assertTrue(executorService.isShutdown());
}