### Question:
SC extends Canvas { public void confirm(String message, BooleanCallback callback) { confirm(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_sendsConfirmationRequest() { final String message = "message"; sc.confirm(message, null); verify(serverSideProxy).call(eq("confirm"), anyInt(), eq(message), anyString()); }
@Test public void test_sendsConfirmationRequestWithTitle() { final String title = "title"; final String message = "message"; sc.confirm(title, message, null); verify(serverSideProxy).call(eq("confirm"), anyInt(), eq(message), eq(title)); }