### Question:
TransformableModel extends FeatureModel implements Transformable, Recyclable { @Override public void setSize(int width, int height) { oldWidth = this.width; oldHeight = this.height; this.width = width; this.height = height; notifyTransformed(false); } TransformableModel(Services services, Setup setup); @Override void addListener(TransformableListener listener); @Override void removeListener(TransformableListener listener); @Override void moveLocation(double extrp, Direction direction, Direction... directions); @Override void moveLocationX(double extrp, double vx); @Override void moveLocationY(double extrp, double vy); @Override void moveLocation(double extrp, double vx, double vy); @Override void teleport(double x, double y); @Override void teleportX(double x); @Override void teleportY(double y); @Override void setLocation(double x, double y); @Override void setLocationX(double x); @Override void setLocationY(double y); @Override void transform(double x, double y, int width, int height); @Override void setSize(int width, int height); @Override double getX(); @Override double getY(); @Override int getWidth(); @Override int getHeight(); @Override double getOldX(); @Override double getOldY(); @Override int getOldWidth(); @Override int getOldHeight(); @Override void recycle();  }### Answer:
@Test void testSetSize() { assertEquals(16, transformable.getOldWidth()); assertEquals(32, transformable.getOldHeight()); assertEquals(16, transformable.getWidth()); assertEquals(32, transformable.getHeight()); transformable.setSize(64, 48); assertEquals(16, transformable.getOldWidth()); assertEquals(32, transformable.getOldHeight()); assertEquals(64, transformable.getWidth()); assertEquals(48, transformable.getHeight()); }