use of voldemort.serialization.DefaultSerializerFactory in project voldemort by voldemort.
the class ThriftSerializerTest method testGetSerializer2.
public void testGetSerializer2() {
try {
SerializerDefinition def = new SerializerDefinition("thrift", "java=" + MockMessage.class.getName());
new DefaultSerializerFactory().getSerializer(def);
} catch (IllegalArgumentException e) {
return;
}
fail("IllegalArgumentException should have been thrown for missing Thrift protocol");
}
Aggregations