public void exit() throws ErrorEntryFreeException {
        exit(count, args);
    }
@Test
    public void testEntryExitCounts() {
        ResourceWrapper resourceWrapper = new StringResourceWrapper("resA", EntryType.IN);
        TestEntry entry = new TestEntry(resourceWrapper);
        entry.exit();
        assertEquals(-1, entry.count);
        entry.exit(9);
        assertEquals(-10, entry.count);
    }