@BeforeMethod private void createStacks() throws TckRepositoryException { stacks = new StackImpl[STACKS_SIZE]; for (int i = 0; i < STACKS_SIZE; i++) { stacks[i] = createStack("stack-" + i, "name-" + i); } stackRepo.createAll(asList(stacks)); }
@AfterMethod private void removeStacks() throws TckRepositoryException { stackRepo.removeAll(); }