UnitVectorProperty3dfx extends SimpleObjectProperty<Vector3dfx> { @Override public void set(Vector3dfx newValue) { assert newValue != null : AssertMessages.notNullParameter(); set(newValue.getX(), newValue.getY(), newValue.getZ()); } 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 public void setDoubleDouble_notUnitVector() { assertThrows(AssertionError.class, () -> this.property.set(ox, oy, oz)); }
@Test public void setVector3fx_notUnitVector() { assertThrows(AssertionError.class, () -> this.property.set(new Vector3dfx(ox, oy, oz))); }