### Question:
ManagementApiModule implements ServerModule { @Override public void start() { String serverMountPoint = managementApiUri().toString(); webServer.addJAXRSClasses( getClassNames(), serverMountPoint, null ); } ManagementApiModule( WebServer webServer, Config config ); @Override void start(); @Override void stop();  }### Answer:
@Test public void shouldRegisterASingleUri() throws Exception { WebServer webServer = mock( WebServer.class ); CommunityNeoServer neoServer = mock( CommunityNeoServer.class ); when( neoServer.baseUri() ).thenReturn( new URI( "http: when( neoServer.getWebServer() ).thenReturn( webServer ); Map<String, String> params = new HashMap<>(); String managementPath = "/db/manage"; params.put( ServerSettings.management_api_path.name(), managementPath ); Config config = Config.defaults( params ); when( neoServer.getConfig() ).thenReturn( config ); ManagementApiModule module = new ManagementApiModule( webServer, config ); module.start(); verify( webServer ).addJAXRSClasses( anyListOf( String.class ), anyString(), any() ); }