    @Test
    public void givenArray_whenGetElementsClassOf_thenReturnTheClassOfElements() {

        assertThat(getElementsClassOf(String[].class), is(typeCompatibleWith(String.class)));
        assertThat(getElementsClassOf(Integer[].class), is(typeCompatibleWith(Integer.class)));
        assertThat(getElementsClassOf(Contact[].class), is(typeCompatibleWith(Contact.class)));
    }