@Test
public void canCreateNotNullEventHandler() {

    String trailingString = "});\n";
    JsFunctionBodyBuilder jsFunctionBodyBuilder = mock(JsFunctionBodyBuilder.class);
    JsArriveHandlerBuilder jsArriveHandlerBuilder = new JsArriveHandlerBuilder(trailingString, jsFunctionBodyBuilder);
    assertNotNull(jsArriveHandlerBuilder.attachListenerForEvent("click"));
}