From 0bcd8514cf38f84de33f350e635cbc4cfa3b29c4 Mon Sep 17 00:00:00 2001 From: Kalyan Date: Sun, 7 May 2017 23:37:36 +0530 Subject: [PATCH] BAEL-252 A Java Client to Consume a WebSockets API (#1805) * @BAEL-252 - Initial checkin * BAEL-252 : Added junit tests * @BAEL-252(A Java Client to consume a WebSockets API) : Fixed the junit name * BAEL-252 A Java Client to Consume a WebSockets API Fixed junit test name as per the standard --- .../baeldung/websocket/client/MyStompSessionHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java b/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java index b8b1ec8c6c..b61cd6d61d 100644 --- a/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java +++ b/spring-boot/src/test/java/com/baeldung/websocket/client/MyStompSessionHandlerTest.java @@ -14,7 +14,7 @@ import org.springframework.messaging.simp.stomp.StompSession; public class MyStompSessionHandlerTest { @Test - public void testAfterConnectedSuccessfull() { + public void givenValidSession_whenConnected_SendsMessage() { StompSession mockSession = Mockito.mock(StompSession.class); StompHeaders mockHeader = Mockito.mock(StompHeaders.class); MyStompSessionHandler sessionHandler = new MyStompSessionHandler();