UnitVectorProperty3dfx extends SimpleObjectProperty<Vector3dfx> { @Override public Vector3dfx get() { if (isBound()) { return super.get(); } if (this.fake == null) { this.fake = getGeomFactory().newVector(); final DoubleProperty x = new SimpleDoubleProperty(this.fake, MathFXAttributeNames.X); x.bind(internalXProperty()); final DoubleProperty y = new SimpleDoubleProperty(this.fake, MathFXAttributeNames.Y); y.bind(internalYProperty()); final DoubleProperty z = new SimpleDoubleProperty(this.fake, MathFXAttributeNames.Z); z.bind(internalYProperty()); this.fake.set(x, y, z); } return this.fake; } UnitVectorProperty3dfx(Object bean, String name, GeomFactory3dfx factory); GeomFactory3dfx getGeomFactory(); @Override Vector3dfx get(); @Override void set(Vector3dfx newValue); void set(double x, double y, double z); double getX(); double getY(); double getZ(); @Pure ReadOnlyDoubleProperty xProperty(); @Pure ReadOnlyDoubleProperty yProperty(); @Pure ReadOnlyDoubleProperty zProperty();  }
@Test @Disabled public void get() { Vector3D v = this.property.get(); assertNotNull(v); assertEpsilonEquals(ux, v.getX()); assertEpsilonEquals(uy, v.getY()); assertEpsilonEquals(uz, v.getZ()); }