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

eu.lestard.assertj.javafx.internal.PropertyAssertions Maven / Gradle / Ivy

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.");
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy