All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hope.kola.contract.api.ResponseBodyVerification Maven / Gradle / Ivy

There is a newer version: 1.1.2-RELEASE
Show newest version
package hope.kola.contract.api;

import hope.kola.contract.assertj.bridge.AssertThat;
import hope.kola.contract.validation.Validatable;

/**
 * @param path 
 * # single primitive property
 * user.address.zipCode
 * # primitive property of a property
 * user.orders[0].quality
 * # verify the list
 * user.orders
 * 
 */
public record ResponseBodyVerification(String path, AssertThat assertThat) implements Validatable {

  public boolean hasAssert() {
    return assertThat != null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy