void () { MavenServerConnector connector = MavenServerManager.getInstance().getConnector(myProject, myProjectRoot.getPath()); ensureConnected(connector); kill(connector); MavenServerConnector newConnector = MavenServerManager.getInstance().getConnector(myProject, myProjectRoot.getPath()); ensureConnected(newConnector); assertNotSame(connector, newConnector); }