@Test
public void testNoEncodingProfile() {

  EasyMock.expect(instance.getConfiguration(SOURCE_FLAVOR)).andReturn(SOURCE_FLAVOR_KEY).anyTimes();
  EasyMock.expect(instance.getConfiguration(SOURCE_SMIL_FLAVOR)).andReturn(SOURCE_SMIL_FLAVOR_KEY).anyTimes();
  EasyMock.expect(instance.getConfiguration(ENCODING_PROFILE)).andReturn("nothing").anyTimes();
  EasyMock.replay(instance);
  try {
    handler.start(workflow, null);
  } catch (Exception e) {
    return;
  }
  // We expect this to fail and the test should never reach this point
  Assert.fail();
}