@Test
public void testTriggeredWhenDisabled() {

    runner.setProperty(TriggerCleanup.CATEGORY_NAME, "cat");
    runner.setProperty(TriggerCleanup.FEED_NAME, "disabled");
    ((TriggerCleanup) runner.getProcessor()).triggered(new FeedCleanupTriggerEvent("FEEDID"));
    runner.run();
    Assert.assertEquals(0, runner.getFlowFilesForRelationship(TriggerCleanup.REL_SUCCESS).size());
}