@Test fun nestedBinding() { val father = Person("Mr Father", 50) val stepFather = Person("Mr Step Father", 40) val child = Person("Firstborn Child", 18) child.parent = father val fatherName = child.parentProperty().nested(Person::nameProperty) Assert.assertEquals("Mr Father", fatherName.value) fatherName.value = "Mister Father" Assert.assertEquals("Mister Father", father.name) child.parent = stepFather Assert.assertEquals("Mr Step Father", fatherName.value) }