public boolean shouldCareAbout(Object entity) {
        if (entity != null) return getParameterizedClass().isAssignableFrom(entity.getClass());
        return false;
    }
@Test
    public void shouldNotCareAboutEntityOfADifferentTypeFromTheOneTheListenerIsParameterizedWith() {
        EntityConfigChangedListener entityConfigChangedListenerForA = new EntityConfigChangedListener<A>() {
            @Override
            public void onEntityConfigChange(A entity) {

            }
        };
        assertThat(entityConfigChangedListenerForA.shouldCareAbout(new B()), is(false));
    }