class EventToString {

    public static String format(String className, String methodName, Object... args) {
        return new EventToString(Charset.defaultCharset())
                .formatMethodCall(className, methodName, args)
                .build();
    }

}

class EventToStringTest {

    @Test
    public void does_not_crash_to_null_arguments() {

        assertThat(EventToString.format("TheClass", "theMethod", (Object) null), is("TheClass.theMethod(null)"));
    }

}