### Question:
ObjectUtil { static String toString(Object value) { checkNotNull(value,"Value cannot be null"); return ObjectUtil.findObjectFactory(value.getClass()).toString(value); } private  ObjectUtil();   }### Answer:
@Test public void rejectUnsupportedTypes$toStringFailure() { try { ObjectUtil.toString(Lists.newArrayList()); fail("Should fail on unsupported types"); } catch (ObjectTransformationException e) { assertThat((Object)e.getValueClass(),equalTo((Object)ArrayList.class)); } }