### Question:
SimpleObjectCopyFactory implements ObjectCopyFactory { static boolean isImmutable(Class<?> clazz) { return String.class == clazz || Number.class.isAssignableFrom(clazz); }  @Override ObjectTransformer<T, T> createCopyTransformer(Class<T> clazz); @SuppressWarnings("unchecked") @Override ObjectTransformer<T, T> createCopyTransformer(
    Class<T> clazz, ClassLoader classLoader);  }### Answer:
@Test public void testIntegerIsImmutable() { assertTrue(SimpleObjectCopyFactory.isImmutable(((Integer) 123).getClass())); }
@Test public void testStringIsImmutable() { assertTrue(SimpleObjectCopyFactory.isImmutable("abc".getClass())); }