vertx/src/test/java/eu/internetofus/common/vertx/AggregationBuilderTest.java
/**
   * Should create command with an empty order.
   *
   * @see AggregationBuilder#sort(JsonObject, int, int)
   */
Should create command with an empty order.
Should create command with an empty order .
@Test
  public void shouldCreateCommandWithEmptySort() {
    assertThat(new AggregationBuilder().sort(new JsonObject(), 1, 2).build())
        .isEqualTo(new JsonArray().add(new JsonObject().put("$limit", 3)).add(new JsonObject().put("$skip", 1)));
  }
@ Test public void shouldCreateCommandWithEmptySort ( ) { assertThat ( new AggregationBuilder ( ) . sort ( new JsonObject ( ) , 1 , 2 ) . build ( ) ) . isEqualTo ( new JsonArray ( ) . add ( new JsonObject ( ) . put ( "$limit" , 3 ) ) . add ( new JsonObject ( ) . put ( "$skip" , 1 ) ) ) ; }
Should create command with an empty order.
Should create command with an empty order .