assertTrue(((byte [])obj)[0] == A);
// Do 'known' Writable type.
obj = doType(conf, new Text(""), Text.class);
assertTrue(obj instanceof Text);
// Try type that should get transferred old fashion way.
obj = doType(conf, new StopRowFilter(HConstants.EMPTY_BYTE_ARRAY),
RowFilterInterface.class);
assertTrue(obj instanceof StopRowFilter);
// Check that filters can be serialized
obj = doType(conf, new PrefixFilter(HConstants.EMPTY_BYTE_ARRAY),
PrefixFilter.class);