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
This commit is contained in:
Kalyan 2017-05-07 23:37:36 +05:30 committed by maibin
parent 1e6f0da46a
commit 0bcd8514cf
1 changed files with 1 additions and 1 deletions

View File

@ -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();