@Test
public void testOfShouldThrowNullPointerExceptionIfArgumentsAreNull() {

    // Given:
    expectedException.expect(NullPointerException.class);
    expectedException.expectMessage("'arguments' must not be null");
    // When:
    ReplacementData.of(Methods.anyMethod(), 1, null);
    // Then: expect exception
}