### Question:
Size { @SuppressWarnings("SuspiciousNameCombination") public Size flip() { return new Size(height, width); } Size(int width, int height); float getAspectRatio(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @SuppressWarnings("SuspiciousNameCombination") Size flip(); final int width; final int height; }### Answer:
@Test public void flip() throws Exception { assertEquals( new Size(10, 20), new Size(20, 10).flip() ); }