io.camunda.zeebe.protocol.record.JsonSerializableAssert Maven / Gradle / Ivy
package io.camunda.zeebe.protocol.record;
import org.assertj.core.api.AbstractObjectAssert;
/**
* {@link JsonSerializable} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public class JsonSerializableAssert extends AbstractObjectAssert {
/**
* Creates a new {@link JsonSerializableAssert}
to make assertions on actual JsonSerializable.
* @param actual the JsonSerializable we want to make assertions on.
*/
public JsonSerializableAssert(JsonSerializable actual) {
super(actual, JsonSerializableAssert.class);
}
/**
* An entry point for JsonSerializableAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myJsonSerializable)
and get specific assertion with code completion.
* @param actual the JsonSerializable we want to make assertions on.
* @return a new {@link JsonSerializableAssert}
*/
@org.assertj.core.util.CheckReturnValue
public static JsonSerializableAssert assertThat(JsonSerializable actual) {
return new JsonSerializableAssert(actual);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy