public void ProvideValueWithNameWithProviderResolveSuccess() { var x = new Reference("Y"); var r = new NameServiceProvider(true, true); Assert.AreEqual("FOO", x.ProvideValue(r), "#1"); }
public void ProvideValueWithNameWithProviderResolveFail() { var x = new Reference("X"); var r = new NameServiceProvider(true, false); Assert.AreEqual("BAR", x.ProvideValue(r), "#1"); }
public void ProvideValueWithNameWithProviderResolveSuccess () { var x = new Reference ("Y"); var r = new NameServiceProvider (true, true); Assert.AreEqual ("FOO", x.ProvideValue (r), "#1"); }
public void ProvideValueWithNameWithProviderResolveFail () { var x = new Reference ("X"); var r = new NameServiceProvider (true, false); Assert.AreEqual ("BAR", x.ProvideValue (r), "#1"); }