public void SetPropertyChainValue() { FakeServiceLocatorObjectWithTimer temp = this.ServiceLocator.ResolveSingle <FakeServiceLocatorObjectWithTimer>(); Assert.AreEqual(TimeSpan.FromMinutes(15), temp.Timer.Interval); }
public void ResolveDependencyByKey() { FakeServiceLocatorObjectWithTimer temp = this.ServiceLocator.ResolveSingle <FakeServiceLocatorObjectWithTimer>(); Assert.IsInstanceOfType(temp.Timer, typeof(TimersTimer)); }