}
public void testRemoveNodeFromReplicationGroupOnIllegalStateTransitionException() throws Exception
{
BDBHARemoteReplicationNode<?> node = mockRemoteNode();
doThrow(new IllegalStateTransitionException("test")).when(node).delete();
try
{
_mBean.removeNodeFromGroup("remotenode");
fail("Exception not thrown");