@Test(dependsOnMethods = {"testQueryAbsent67"})
    public void testQueryAbsent68() throws InterruptedException {
        log.info("Test the partitioned query e1 -> not e2 for 1 sec and not e3 for 1 sec");

        SiddhiManager siddhiManager = new SiddhiManager();

        String streams = "" +
                "define stream Stream1 (symbol string, price float, volume int); ";
        String query = " " +
                "partition with (symbol of Stream1) " +
                "begin " +
                "from e1=Stream1[price==10.0f] -> not Stream1[symbol == e1.symbol and price==20.0f] for 1 sec " +
                "     and not Stream1[symbol == e1.symbol and price==20.0f] for 1 sec " +
                "select e1.symbol as symbol " +
                "insert into OutputStream; " +
                "end ";

        SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(streams + query);

        TestUtil.TestCallback callback = TestUtil.addStreamCallback(siddhiAppRuntime, "OutputStream",
                new Object[]{"WSO2"});

        InputHandler stream1 = siddhiAppRuntime.getInputHandler("Stream1");
        siddhiAppRuntime.start();

        stream1.send(new Object[]{"WSO2", 10.0f, 20});
        stream1.send(new Object[]{"IBM", 10.0f, 21});
        Thread.sleep(500);
        stream1.send(new Object[]{"IBM", 20.0f, 15});
        Thread.sleep(600);

        callback.throwAssertionErrors();
        AssertJUnit.assertEquals("Number of success events", 1, callback.getInEventCount());
        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