@Test
public void testCheckIfArgumentsMatchParameterTypesShouldThrowNullPointerExceptionIfParameterTypesIsNull() {

    // Given:
    expectedException.expect(NullPointerException.class);
    expectedException.expectMessage("'testMethod' must not be null");
    // When:
    underTest.checkIfArgumentsMatchParameterTypes(new Object[0], null);
    // Then: expect exception
}