### Question:
Vector2f extends AVector2 { @Override public Vector2 getXYVector() { return Vector2.copy(this); } private  Vector2f(); private  Vector2f(final double x, final double y); static Vector2f fromX(final double x); static Vector2f fromY(final double y); static Vector2f fromXY(final double x, final double y); static Vector2f fromAngle(final double angle); static Vector2f fromAngleLength(final double angle, final double length); static Vector2f copy(final IVector2 xy); static Vector2f zero(); @Override IVector2 copy(); @Override Vector2 getXYVector(); @Override double x(); @Override double y(); static final Vector2f X_AXIS; static final Vector2f Y_AXIS; static final Vector2f ZERO_VECTOR; }### Answer:
@Test public void testGetXYVector() { assertThat(Vector2f.fromXY(42, 1337).getXYVector()).isEqualTo(Vector2.fromXY(42, 1337)); }