### Question:
SerializationFactory extends Configured { public <T> Deserializer<T> getDeserializer(Class<T> c) { Serialization<T> serializer = getSerialization(c); if (serializer != null) { return serializer.getDeserializer(c); } return null; } SerializationFactory(Configuration conf); Serializer<T> getSerializer(Class<T> c); Deserializer<T> getDeserializer(Class<T> c); @SuppressWarnings("unchecked") Serialization<T> getSerialization(Class<T> c);  }### Answer:
@Test public void testGetDeserializer() { assertNotNull("A valid class must be returned for default Writable SerDe", factory.getDeserializer(Writable.class)); assertNull("A null should be returned if there are no deserializers found", factory.getDeserializer(TestSerializationFactory.class)); }