File tree Expand file tree Collapse file tree
src/test/java/app/benchmark Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,24 +135,6 @@ void handleChat_shouldIncludeUsername() throws IOException {
135135 assertThat (sentMessage ).contains (testMessage );
136136 }
137137
138- @ Test
139- @ DisplayName ("Ping 메시지는 Pong으로 응답한다" )
140- void handlePing_shouldRespondWithPong () throws IOException {
141- // given
142- handler .onOpen (mockSession1 );
143-
144- // when
145- handler .handlePing (mockSession1 , "ping" );
146-
147- // then
148- ArgumentCaptor <String > captor = ArgumentCaptor .forClass (String .class );
149- verify (mockSession1 ).sendText (captor .capture ());
150-
151- String sentMessage = captor .getValue ();
152- assertThat (sentMessage ).contains ("\" destination\" :\" /pong\" " );
153- assertThat (sentMessage ).contains ("\" payload\" :\" pong\" " );
154- }
155-
156138 @ Test
157139 @ DisplayName ("Stats 메시지는 현재 통계를 반환한다" )
158140 void handleStats_shouldReturnStatistics () throws IOException {
You can’t perform that action at this time.
0 commit comments