public void FindUriWitInvalidEnvironmentSetting_ShouldThrowException() { const string root = @"C:\users\stevpet\Documents\dev"; IServerUriFinder serverUriFinder = new ServerUriFinder(); var actual = serverUriFinder.FindUri(root + @"\Jewel.Release.Oahu.Ux\BasicControls"); Assert.Fail("should not get here"); }
public void FindUriWithEnvironmentSetting_ShouldUseIt() { const string root = @"C:\users\stevpet\Documents\dev"; const string serverUrl="https://*****:*****@"\Jewel.Release.Oahu.Ux\BasicControls"); Assert.AreEqual(serverUrl, actual.OriginalString); }