@Test
public void getTextFormatter() {

  SequenceFileSerializer formatter =
      SequenceFileSerializerFactory.getSerializer("Text", new Context());
  assertTrue(formatter != null);
  assertTrue(formatter.getClass().getName(),
      formatter instanceof HDFSTextSerializer);
}