### Question:
SC extends Canvas { public void ask(String message, BooleanCallback callback) { ask(null, message, callback); } SC();   SC(ServerSideProxyFactory serverSideProxyFactory); void say(String message); void say(String message, BooleanCallback bcb); void say(String title, String message); void say(String title, String message, BooleanCallback bcb); void confirm(String message, BooleanCallback callback); void confirm(String title, String message, BooleanCallback callback); void ask(String message, BooleanCallback callback); void ask(String title, String message, BooleanCallback callback); @Override void changeVariables(final Object source, final Map variables); @Override void paintContent(PaintTarget target);  }### Answer:
@Test public void test_ask_sendsAskRequest() { final String message = "message"; sc.ask(message, null); verify(serverSideProxy).call(eq("ask"), anyInt(), anyString(), eq(message)); }
@Test public void test_ask_sendsAskRequestWithTitle() { final String title = "title"; final String message = "message"; sc.ask(title, message, null); verify(serverSideProxy).call(eq("ask"), anyInt(), eq(title), eq(message)); }