File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
test/org/codefx/libfx/nesting/property Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 9
9
import static org .junit .Assert .assertNotEquals ;
10
10
import static org .junit .Assert .assertNotSame ;
11
11
import static org .junit .Assert .assertNull ;
12
+ import static org .junit .Assert .assertSame ;
12
13
import static org .junit .Assert .assertTrue ;
13
14
import javafx .beans .property .Property ;
14
15
@@ -54,6 +55,13 @@ public void setUp() {
54
55
55
56
// #region TESTS
56
57
58
+ /**
59
+ * Tests whether the properties the tested property owns have the correct bean.
60
+ */
61
+ public void testPropertyBean () {
62
+ assertSame (property , property .innerObservablePresentProperty ().getBean ());
63
+ }
64
+
57
65
/**
58
66
* Tests whether the property's initial value (i.e. after construction) is the one held by the nesting's inner
59
67
* observable.
You can’t perform that action at this time.
0 commit comments