public static Entry entry(String name) throws BlockException {
        return Env.sph.entry(name, EntryType.OUT, 1, OBJECTS0);
    }
@Test
    public void testEntryExitAutomation() throws BlockException{
        String[] args = {"foo", "baz"};
        int batchCount = 3;
        Entry e = SphU.entry("testEntryExitAutomation", EntryType.IN, 3, args);
        e.exit();
        // The number of success is automatically updated based on batchCount when exit
        assertEquals(batchCount, e.getCurNode().totalSuccess());
    }