protocols/src/test/java/eu/internetofus/common/protocols/AbstractProtocolITC.java
/**
   * Assert that the last successful test was the specified step.
   *
   * @param step        to be successful.
   * @param testContext context to do the test.
   */
Assert that the last successful test was the specified step.
@param step        to be successful.
@param testContext context to do the test.
Assert that the last successful test was the specified step . @param step to be successful . @param testContext context to do the test .
protected void assertLastSuccessfulTestWas(final int step, final VertxTestContext testContext) {
    if (step > this.lastSuccessfulTest) {
      final var msg = "Previous test not succeeded";
      testContext.failNow(msg);
      fail(msg);
    }
  }
protected void assertLastSuccessfulTestWas ( final int step , final VertxTestContext testContext ) { if ( step > this . lastSuccessfulTest ) { final var msg = "Previous test not succeeded" ; testContext . failNow ( msg ) ; fail ( msg ) ; } }
Assert that the last successful test was the specified step.
Assert that the last successful test was the specified step .