@Test(dependsOnMethods = {"testQueryAbsent32"})
    public void testQueryAbsent33() throws InterruptedException {
        log.info("Test the query (not e1 for 1 sec or not e2 for 1 sec) -> e3 with e3 only");

        SiddhiManager siddhiManager = new SiddhiManager();

        String streams = "" +
                "define stream Stream1 (symbol string, price float, volume int); " +
                "define stream Stream2 (symbol string, price float, volume int); " +
                "define stream Stream3 (symbol string, price float, volume int); ";
        String query = "" +
                "@info(name = 'query1') " +
                "from (not Stream1[price>10] for 1 sec or not Stream2[price>20] for 1 sec) -> e3=Stream3[price>30] " +
                "select e3.symbol as symbol " +
                "insert into OutputStream ;";

        SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(streams + query);
        TestUtil.TestCallback callback = TestUtil.addQueryCallback(siddhiAppRuntime, "query1", new Object[]{"WSO2"});

        InputHandler stream3 = siddhiAppRuntime.getInputHandler("Stream3");
        siddhiAppRuntime.start();

        Thread.sleep(1100);
        stream3.send(new Object[]{"WSO2", 35.0f, 100});
        Thread.sleep(1100);
        stream3.send(new Object[]{"WSO2", 35.0f, 100});
        Thread.sleep(100);


        callback.throwAssertionErrors();
        AssertJUnit.assertEquals("Number of success events", 1, callback.getInEventCount());
        AssertJUnit.assertEquals("Number of remove events", 0, callback.getRemoveEventCount());
        AssertJUnit.assertTrue("Event arrived", callback.isEventArrived());

        siddhiAppRuntime.shutdown();
    }
Test the patterns:
- 'A -> not B and C'
- 'not A and B -> C'
- 'A -> not B for 1 sec and C'
- 'A -> not B for 1 sec or C'
- 'A -> not B for 1 sec and not C for 1 sec'
- 'A -> not B for 1 sec or not C for 1 sec'
- 'not A for 1 sec and not B for 1 sec -> C'
- 'not A for 1 sec or not B for 1 sec -> C'
modules/siddhi-core/src/test/java/io/siddhi/core/query/pattern/absent/LogicalAbsentPatternTestCase.java