@Test public void nullDriverUrl() { assertThat(BackendManager.getBackend(null), is(nullValue())); }
public static CloudnameBackend getBackend(final String url) { if (url == null) { return null; } final BackendUrl backendUrl = new BackendUrl(url); if (!drivers.containsKey(backendUrl.name)) { return null; } return drivers.get(backendUrl.name).apply(backendUrl.connectionString); }
BackendManager { public static CloudnameBackend getBackend(final String url) { if (url == null) { return null; } final BackendUrl backendUrl = new BackendUrl(url); if (!drivers.containsKey(backendUrl.name)) { return null; } return drivers.get(backendUrl.name).apply(backendUrl.connectionString); } }
BackendManager { public static CloudnameBackend getBackend(final String url) { if (url == null) { return null; } final BackendUrl backendUrl = new BackendUrl(url); if (!drivers.containsKey(backendUrl.name)) { return null; } return drivers.get(backendUrl.name).apply(backendUrl.connectionString); } private  BackendManager(); }
BackendManager { public static CloudnameBackend getBackend(final String url) { if (url == null) { return null; } final BackendUrl backendUrl = new BackendUrl(url); if (!drivers.containsKey(backendUrl.name)) { return null; } return drivers.get(backendUrl.name).apply(backendUrl.connectionString); } private  BackendManager(); static CloudnameBackend getBackend(final String url); static void register(
            final String backendIdentifier, final Function<String, CloudnameBackend> createMethod); static void deregister(final String backendIdentifer); }
BackendManager { public static CloudnameBackend getBackend(final String url) { if (url == null) { return null; } final BackendUrl backendUrl = new BackendUrl(url); if (!drivers.containsKey(backendUrl.name)) { return null; } return drivers.get(backendUrl.name).apply(backendUrl.connectionString); } private  BackendManager(); static CloudnameBackend getBackend(final String url); static void register(
            final String backendIdentifier, final Function<String, CloudnameBackend> createMethod); static void deregister(final String backendIdentifer);  }