### Question:
LocalDirectoryTransport extends Transport { @Override public void shutdown() throws JournalException { super.testStateChange(State.SHUTDOWN); if (super.getState() != State.SHUTDOWN) { super.setState(State.SHUTDOWN); } } LocalDirectoryTransport(Map<String, String> parameters,
                                   boolean crucial,
                                   TransportParent parent); @Override void openFile(String repositoryHash,
                         String filename,
                         Date currentDate); @Override XMLEventWriter getWriter(); @Override void closeFile(); @Override void shutdown(); static final String PARAMETER_DIRECTORY_PATH; }### Answer:
@Test public void testShutdownAfterShutdown() throws JournalException { Transport transport = new LocalDirectoryTransport(parameters, CRUCIAL, parent); transport.shutdown(); transport.shutdown(); }