@Test
public void testFilterConsumersForEnabledFlag() {

    List<ConsumerContainer.ConsumerHolder> consumerHolderList = consumerContainer.consumerHolders;
    consumerHolderList.get(0).enabled = true;
    consumerHolderList.get(1).enabled = false;
    int enabledInnerConsumerCount = consumerContainer.filterConsumersForEnabledFlag(true).size();
    Assert.assertEquals(1, enabledInnerConsumerCount);
    int disabledInnerConsumerCount = consumerContainer.filterConsumersForEnabledFlag(false).size();
    Assert.assertEquals(1, disabledInnerConsumerCount);
}