src/test/java/com/redhat/MessageHelperTest.java
/**
     * Test whether we can update an acronym. Because we cannot guarantee order of execution (and don't want to
     * guarantee it), we first save the acronym and then update it.
     */
Test whether we can update an acronym. Because we cannot guarantee order of execution (and don't want to
guarantee it), we first save the acronym and then update it.
Test whether we can update an acronym . Because we cannot guarantee order of execution ( and don ' t want to guarantee it ) we first save the acronym and then update it .
@Test
    public void updateAcronymTest() {
        helper.handleMessageAction(JsonNodeHelper.updateInitialAcronym());
        Assertions
                .assertThat(helper.handleMessageAction(JsonNodeHelper.getInitialAcronymLowercase()))
                .contains(JsonNodeHelper.EXPLANATION)
                .contains(JsonNodeHelper.EXPLANATION_UPDATE);
    }
@ Test public void updateAcronymTest ( ) { helper . handleMessageAction ( JsonNodeHelper . updateInitialAcronym ( ) ) ; Assertions . assertThat ( helper . handleMessageAction ( JsonNodeHelper . getInitialAcronymLowercase ( ) ) ) . contains ( JsonNodeHelper . EXPLANATION ) . contains ( JsonNodeHelper . EXPLANATION_UPDATE ) ; }
Test whether we can update an acronym.
Test whether we can update an acronym .