### Question:
SizeTransformers { public static Transformer<Size, Size> scaled(final float scaleFactor) { return new Transformer<Size, Size>() { @Override public Size transform(Size input) { return new Size( (int) (input.width * scaleFactor), (int) (input.height * scaleFactor) ); } }; }  static Transformer<Size, Size> originalSize(); static Transformer<Size, Size> scaled(final float scaleFactor);  }### Answer:
@Test public void scaled() throws Exception { assertEquals( new Size(50, 100), SizeTransformers.scaled(0.5f).transform(new Size(100, 200)) ); }