### Question:
Resolution { public Resolution get3x() { return getScaled(FACTOR_3X, FACTOR_3X); } Resolution(int width, int height, int rate); Resolution get2x(); Resolution get3x(); Resolution get4x(); Resolution getScaled(double factorX, double factorY); int getWidth(); int getHeight(); int getRate(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString();  }### Answer:
@Test void testScale3x() { final Resolution resolution = new Resolution(320, 240, 60); assertEquals(new Resolution(960, 720, 60), resolution.get3x()); }