### Question:
JsArriveHandlerBuilder { public JsEventListenerBodyBuilder attachListenerForEvent(String event) { return new JsEventListenerBodyBuilder(event, this); } JsArriveHandlerBuilder(String cssSelector, JsFunctionBodyBuilder parent); JsEventListenerBodyBuilder attachListenerForEvent(String event); JsFunctionBodyBuilder endArriveHandler(); JsArriveHandlerBuilder write(String string); JsArriveHandlerBuilder notifySatisfiedCondition(String hashcode); JsArriveHandlerBuilder notifySatisfiedBasedOnText(String textTarget, String hashCode);  }### Answer:
@Test public void canCreateNotNullEventHandler() { String trailingString = "});\n"; JsFunctionBodyBuilder jsFunctionBodyBuilder = mock(JsFunctionBodyBuilder.class); JsArriveHandlerBuilder jsArriveHandlerBuilder = new JsArriveHandlerBuilder(trailingString, jsFunctionBodyBuilder); assertNotNull(jsArriveHandlerBuilder.attachListenerForEvent("click")); }