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:
parent
1e6f0da46a
commit
0bcd8514cf
|
@ -14,7 +14,7 @@ import org.springframework.messaging.simp.stomp.StompSession;
|
||||||
public class MyStompSessionHandlerTest {
|
public class MyStompSessionHandlerTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testAfterConnectedSuccessfull() {
|
public void givenValidSession_whenConnected_SendsMessage() {
|
||||||
StompSession mockSession = Mockito.mock(StompSession.class);
|
StompSession mockSession = Mockito.mock(StompSession.class);
|
||||||
StompHeaders mockHeader = Mockito.mock(StompHeaders.class);
|
StompHeaders mockHeader = Mockito.mock(StompHeaders.class);
|
||||||
MyStompSessionHandler sessionHandler = new MyStompSessionHandler();
|
MyStompSessionHandler sessionHandler = new MyStompSessionHandler();
|
||||||
|
|
Loading…
Reference in New Issue