@Test
public void testDataTypeField() throws Exception {

  MpegTsInputTransformer t =
      new MpegTsInputTransformer(
          inputTransformer,
          metacardTypes,
          stanag4609Processor,
          klvHandlerFactory,
          defaultKlvHandler,
          stanagParserFactory,
          klvProcessor,
          DISTANCE_TOLERANCE);
  try (InputStream inputStream = new ByteArrayInputStream(new byte[] {})) {
    Metacard finalMetacard = t.transform(inputStream);
    assertThat(
        finalMetacard.getAttribute(Core.DATATYPE),
        is(new AttributeImpl(Core.DATATYPE, MpegTsInputTransformer.DATA_TYPE)));
  }
}