public Class<T> getType() {
        return type;
    }
@Test
    public void testGetType() {
        assertEquals(ClusterState.class, clusterStateChange.getType());
        assertEquals(ClusterState.class, clusterStateChangeSameAttributes.getType());
        assertEquals(Version.class, clusterStateChangeOtherType.getType());
        assertEquals(ClusterState.class, clusterStateChangeOtherNewState.getType());
    }