### Question:
Font implements Distributable { public Font changeSize(int aSize) { return new Font(name, aSize); } Font(FontName aFontName, int aSize); @Override boolean equals(Object o); @Override int hashCode(); Font changeSize(int aSize); Font changeName(FontName aName); @Override Map<String, Object> serialize(); static Font deserialize(Map<String, Object> aSerializedData); static final Font DEFAULT_FONT; final FontName name; final int size; }### Answer:
@Test public void testChangeSize() throws Exception { Font theFont = Font.DEFAULT_FONT; Font theMutated = theFont.changeSize(22); assertNotSame(theFont, theMutated); assertEquals(theFont.name, theMutated.name); assertEquals(22, theMutated.size); }