### Question:
DeserializerRegistryImpl implements DeserializerRegistry { @Override public boolean unregisterDeserializer(MessageCodeKey key) { if (key == null) { throw new IllegalArgumentException("MessageCodeKey is null"); } OFGeneralDeserializer deserializer = registry.remove(key); if (deserializer == null) { return false; } return true; }  @Override void init(); @Override @SuppressWarnings("unchecked") T getDeserializer(MessageCodeKey key); @Override void registerDeserializer(MessageCodeKey key, OFGeneralDeserializer deserializer); @Override boolean unregisterDeserializer(MessageCodeKey key);  }### Answer:
@Test public void testUnRegisterDeserializer(){ DeserializerRegistryImpl derserReg = new DeserializerRegistryImpl(); derserReg.init(); Assert.assertTrue("Wrong - unregister serializer",derserReg.unregisterDeserializer(new MessageCodeKey(OF13,EMPTY_VALUE, Match.class))); Assert.assertFalse("Wrong - unregister serializer",derserReg.unregisterDeserializer(new MessageCodeKey(OF10,EMPTY_VALUE, Match.class))); }