Ejemplo n.º 1
0
 public void InitializedWithNullMetricThrowsException(Assembly assembly, IMetric metric, IWindowInitiator windowInitiator)
 {
     Assert.Throws <ArgumentNullException>(() => new WindowLocator(assembly, windowInitiator, null));
 }
Ejemplo n.º 2
0
        public void InitializedReturnsCorrectResult(Assembly assembly, IWindowInitiator windowInitiator, IMetric metric)
        {
            var sut = new WindowLocator(assembly, windowInitiator, metric);

            Assert.NotNull(sut);
        }
Ejemplo n.º 3
0
 public void InitializedWithNullAssemblyThrowsException(IWindowInitiator windowInitiator, IMetric metric)
 {
     Assert.Throws <ArgumentNullException>(() => new WindowLocator(null, windowInitiator, metric));
 }