@Test public void testObjectExpression(){ ObjectExpression<TestPerson> actual = new SimpleObjectProperty<>(person); assertThat(actual).hasValue(person); assertThat(actual).hasSameValue(actual); }
@Test public void testObjectExpression(){ final ObjectExpression<TestPerson> actual = Bindings.createObjectBinding(() -> person); assertThat(actual).hasNotNullValue(); }
@Test public void testObjectExpression(){ final ObjectExpression<TestPerson> actual = Bindings.createObjectBinding(() -> null); assertThat(actual).hasNullValue(); }