@Test
public void testIsStreamAllowedOperation() throws Exception {

    String streamName= "myStream";
    assertTrue("True value expected", SiddhiUtils.isStreamAllowedForThisOperation(
            streamName, STREAM_OPERATIONS.ACTION.LISTEN));
    assertFalse("False value expected", SiddhiUtils.isStreamAllowedForThisOperation(
            streamName, "DASDSADASDSADAS"));
    assertTrue("True value expected", SiddhiUtils.isStreamAllowedForThisOperation(
            streamName, STREAM_OPERATIONS.MANIPULATION.INSERT));
    assertFalse("False value expected", SiddhiUtils.isStreamAllowedForThisOperation(
            STREAMING.STATS_NAMES.STATS_STREAMS[0], STREAM_OPERATIONS.MANIPULATION.INSERT));
}