@Test(expected = IllegalArgumentException.class)
public void testNullMetacard() {

  NitfSegmentsFlow nitfSegmentsFlow = mock(NitfSegmentsFlow.class);
  nitfGmtiTransformer.transform(nitfSegmentsFlow, null);
}