src/test/java/com/redhat/MessageHelperTest.java
/**
     * Test whether MessageHelper can handle a JSON message which has no argument text. Such a message
     * occurs when the bot gets added to a new room via mention and not via the "add a bot" button.
     */
Test whether MessageHelper can handle a JSON message which has no argument text. Such a message
occurs when the bot gets added to a new room via mention and not via the "add a bot" button.
Test whether MessageHelper can handle a JSON message which has no argument text . Such a message occurs when the bot gets added to a new room via mention and not via the " add a bot " button .
@Test
    public void addedToRoomViaMentionTest() {
        Assertions
                .assertThat(helper.handleMessageAction(JsonNodeHelper.getJsonNodeWithoutMessageArgumentText()))
                .isEqualTo(Constants.ADDED_RESPONSE);
    }
@ Test public void addedToRoomViaMentionTest ( ) { Assertions . assertThat ( helper . handleMessageAction ( JsonNodeHelper . getJsonNodeWithoutMessageArgumentText ( ) ) ) . isEqualTo ( Constants . ADDED_RESPONSE ) ; }
Test whether MessageHelper can handle a JSON message which has no argument text.
Test whether MessageHelper can handle a JSON message which has no argument text .