assertEquals(expectedInstallation, cache.locateBrowserInstallation("aBrowser", null, null));
}
public void testLocateBrowserInstallationUseLocatorWhenCacheIsEmptyAndACustomPathIsProvided() {
final BrowserInstallation expectedInstallation;
final BrowserLocator locator;
expectedInstallation = new BrowserInstallation(null, null);
locator = new BrowserLocator() {
public BrowserInstallation findBrowserLocationOrFail() {
throw new UnsupportedOperationException();
}