SharedShellState { public ShellState getShellState() { lock.lock(); try { return shellState; } finally { lock.unlock(); } }  ShellState getShellState(); void connectedToAccumulo(
            final AccumuloConnectionDetails connectionDetails,
            final RyaClient connectedCommands); void connectedToMongo(
            final MongoConnectionDetails connectionDetails,
            final RyaClient connectedCommands); void connectedToInstance(final String instanceName); void connectedToRyaStreams(
            final RyaStreamsClient ryaStreamsCommands); void disconnected();  }
@Test public void initialStateIsDisconnected() { final SharedShellState state = new SharedShellState(); final ShellState expected = ShellState.builder() .setConnectionState(ConnectionState.DISCONNECTED) .build(); assertEquals(expected, state.getShellState()); }