public void testRemoveInstance() throws InterruptedException {
MockEndpoint removed = getMockEndpoint("mock:removed");
removed.setExpectedMessageCount(1);
HazelcastInstance h1 = Hazelcast.newHazelcastInstance(null);
// TODO --> check how an instance can be killed...
h1.shutdown();
assertMockEndpointsSatisfied(5000, TimeUnit.MILLISECONDS);
// check headers
Exchange ex = removed.getExchanges().get(0);