eu.lestard.assertj.javafx.internal.PropertyAssertions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assertj-javafx Show documentation
Show all versions of assertj-javafx Show documentation
AssertJ-JavaFX is a package of assertj assertions for JavaFX
The newest version!
package eu.lestard.assertj.javafx.internal;
import javafx.beans.property.Property;
import org.assertj.core.api.AbstractAssert;
public class PropertyAssertions extends AbstractAssert {
public PropertyAssertions(Property actual) {
super(actual, PropertyAssertions.class);
}
public void isBound(){
isNotNull();
if(!actual.isBound()){
failWithMessage("Expecting actual to be bound but was not.");
}
}
}