@Test
public void createsANotNullLeaveHandler() {

    JsFunctionDeclarerBuilder jsFunctionDeclarerBuilder = mock(JsFunctionDeclarerBuilder.class);
    JsFunctionBodyBuilder jsFunctionBodyBuilder = new JsFunctionBodyBuilder(jsFunctionDeclarerBuilder);
    assertNotNull(jsFunctionBodyBuilder.whenCssSelectorLeaves("#title"));
}