components/src/test/java/eu/internetofus/common/components/models/IncentiveMessageTest.java
/**
   * Check that not accept without content.
   *
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @see WeNetUserProfile#validate(WeNetValidateContext)
   */
Check that not accept without content.
@param vertx       event bus to use.
@param testContext context to test.


Check that not accept without content . @param vertx event bus to use . @param testContext context to test .
@Test
  public void shouldNotBeValidWithoutContent(final Vertx vertx, final VertxTestContext testContext) {
    final var model = this.createModelExample(1);
    model.content = null;
    assertIsNotValid(model, "content", new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldNotBeValidWithoutContent ( final Vertx vertx , final VertxTestContext testContext ) { final var model = this . createModelExample ( 1 ) ; model . content = null ; assertIsNotValid ( model , "content" , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
Check that not accept without content.
Check that not accept without content .