@Test
public void testDoAction() throws RolloverActionException {

  MetacardType metacardType = mock(MetacardType.class);
  CreateMetacardRolloverAction createMetacardRolloverAction =
      new CreateMetacardRolloverAction(Collections.singletonList(metacardType));
  MetacardImpl metacard = createMetacardRolloverAction.doAction(null, new File("a"));
  assertThat(metacard.getMetacardType(), is(metacardType));
  assertThat(metacard.getContentTypeName(), Matchers.is(Constants.MPEGTS_MIME_TYPE));
}