@@ -44,8 +44,14 @@ static void teardown() throws Exception {
4444 }
4545 }
4646
47+ /**
48+ * Verifies that user input handler is invoked when model uses ask_user tool.
49+ *
50+ * @see Snapshot:
51+ * ask_user/should_invoke_user_input_handler_when_model_uses_ask_user_tool
52+ */
4753 @ Test
48- void testUserInputHandlerInvokedWhenModelUsesAskUserTool () throws Exception {
54+ void testShouldInvokeUserInputHandlerWhenModelUsesAskUserTool () throws Exception {
4955 ctx .configureForTest ("ask_user" , "should_invoke_user_input_handler_when_model_uses_ask_user_tool" );
5056
5157 List <UserInputRequest > userInputRequests = new ArrayList <>();
@@ -82,8 +88,13 @@ void testUserInputHandlerInvokedWhenModelUsesAskUserTool() throws Exception {
8288 }
8389 }
8490
91+ /**
92+ * Verifies that choices are received in user input requests.
93+ *
94+ * @see Snapshot: ask_user/should_receive_choices_in_user_input_request
95+ */
8596 @ Test
86- void testUserInputRequestWithChoices () throws Exception {
97+ void testShouldReceiveChoicesInUserInputRequest () throws Exception {
8798 ctx .configureForTest ("ask_user" , "should_receive_choices_in_user_input_request" );
8899
89100 List <UserInputRequest > userInputRequests = new ArrayList <>();
@@ -116,10 +127,12 @@ void testUserInputRequestWithChoices() throws Exception {
116127 }
117128
118129 /**
119- * Test for freeform user input response.
130+ * Verifies that freeform user input responses are handled.
131+ *
132+ * @see Snapshot: ask_user/should_handle_freeform_user_input_response
120133 */
121134 @ Test
122- void testFreeformUserInputResponse () throws Exception {
135+ void testShouldHandleFreeformUserInputResponse () throws Exception {
123136 ctx .configureForTest ("ask_user" , "should_handle_freeform_user_input_response" );
124137
125138 final List <UserInputRequest > userInputRequests = new ArrayList <>();
0 commit comments