public static Entry entry(String name) throws BlockException {
        return Env.sph.entry(name, EntryType.OUT, 1, OBJECTS0);
    }
@Test
    public void testStringEntryCount() throws BlockException {
        Entry e = SphU.entry("resourceName", 2);

        assertNotNull(e);
        assertEquals("resourceName", e.resourceWrapper.getName());
        assertEquals(e.resourceWrapper.getEntryType(), EntryType.OUT);
        assertEquals(ContextUtil.getContext().getName(), Constants.CONTEXT_DEFAULT_NAME);

        e.exit(2);
    }