components/src/test/java/eu/internetofus/common/components/models/TaskTransactionTest.java
/**
   * A creation transaction that is valid because is a
   * {@link TaskTransaction#CREATE_TASK_LABEL} with empty attributes.
   *
   * @param vertx       event bus to use.
   * @param testContext test context to use.
   *
   * @see TaskTransaction#validate(WeNetValidateContext)
   */
A creation transaction that is valid because is a
TaskTransaction#CREATE_TASK_LABEL with empty attributes.

@param vertx       event bus to use.
@param testContext test context to use.


A creation transaction that is valid because is a TaskTransaction#CREATE_TASK_LABEL with empty attributes . @param vertx event bus to use . @param testContext test context to use .
@Test
  public void shouldTransactionBeValidWhenIsCreateTaskWithEmptyAttributes(final Vertx vertx,
      final VertxTestContext testContext) {
    final var model = new TaskTransaction();
    model.label = TaskTransaction.CREATE_TASK_LABEL;
    model.attributes = new JsonObject();
    assertIsValid(model, new WeNetValidateContext("codePrefix", vertx), testContext);
  }
@ Test public void shouldTransactionBeValidWhenIsCreateTaskWithEmptyAttributes ( final Vertx vertx , final VertxTestContext testContext ) { final var model = new TaskTransaction ( ) ; model . label = TaskTransaction . CREATE_TASK_LABEL ; model . attributes = new JsonObject ( ) ; assertIsValid ( model , new WeNetValidateContext ( "codePrefix" , vertx ) , testContext ) ; }
A creation transaction that is valid because is a
 {@link TaskTransaction#CREATE_TASK_LABEL} with empty attributes.
A creation transaction that is valid because is a { @link TaskTransaction#CREATE_TASK_LABEL } with empty attributes .