161162163164165166167168169170171
assertCorrectNumberOfCalls(1, 0, 0); transport.closeFile(); assertCorrectNumberOfCalls(1, 1, 1); transport.shutdown(); assertCorrectNumberOfCalls(1, 1, 1); } @Ignore @Test
191192193194195196197198199200201
transport.getWriter().add(factory.createEndElement(name2, null)); transport.closeFile(); assertCorrectNumberOfCalls(1, 3, 1); transport.shutdown(); assertCorrectNumberOfCalls(1, 3, 1); } @Ignore @Test(expected = JournalException.class)