@Test
public void testCheckIfArgumentsMatchParameterTypesShouldThrowNullPointerExceptionIfArgumentsIsNull() {

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