@Test
    public void testQueryAbsent2() throws InterruptedException {
        log.info("Test the query every not e1, e2 without e1");

        SiddhiManager siddhiManager = new SiddhiManager();

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

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

        TestUtil.TestCallback callback = TestUtil.addQueryCallback(siddhiAppRuntime, "query1", new Object[]{"IBM"},
                new Object[]{"WSO2"});

        InputHandler stream2 = siddhiAppRuntime.getInputHandler("Stream2");

        siddhiAppRuntime.start();

        Thread.sleep(2200);
        stream2.send(new Object[]{"IBM", 58.7f, 100});
        Thread.sleep(1100);
        stream2.send(new Object[]{"WSO2", 68.7f, 100});
        Thread.sleep(100);

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

        siddhiAppRuntime.shutdown();
    }
Test the patterns:
- 'A, every(not B for 1 sec)'
- 'every (not A for 1 sec), B'
- 'A, every(not B and C)'
- 'every(not A and B), C'
- 'A, every(not B for 1 sec and C)'
- 'every(not A for 1 sec and B), C'
modules/siddhi-core/src/test/java/io/siddhi/core/query/sequence/absent/EveryAbsentSequenceTestCase.java