public DoublePropertyAssert hasValue(Double expectedValue, Offset offset){
        new ObservableNumberValueAssertions(actual).hasValue(expectedValue, offset);

        return this;
    }
public DoublePropertyAssert hasValue ( Double expectedValue , Offset offset ) { new ObservableNumberValueAssertions ( actual ) . hasValue ( expectedValue , offset ) ; return this ; }
Verifies that the actual observable number has a value that is close to the given one by less then the given offset.

@param expectedValue the given value to compare the actual observables value to.
@param offset the given positive offset.
@return  {@code this} assertion object.

@throws java.lang.NullPointerException if the given offset is <code>null</code>.
@throws java.lang.AssertionError if the actual observables value is not equal to the expected one.