예제 #1
0
            public void SelectPathTest1()
            {
                PathSelectorUnderTest.AddProvider(new DummyClass1());

                var selectedPath = PathSelectorUnderTest.SelectPath();

                Assert.AreEqual("DummyClass1", selectedPath);
            }
예제 #2
0
 public void InvalidPathExceptionFromProvider()
 {
     PathSelectorUnderTest.AddProvider(new InvalidPathDummy());
     PathSelectorUnderTest.SelectPath();
 }
예제 #3
0
 public void NoPathsAvailable()
 {
     PathSelectorUnderTest.SelectPath();
 }
예제 #4
0
 public void NoPathAvailableExceptionFromProvider1()
 {
     PathSelectorUnderTest.SilenceNoPathAvailableExceptions = false;
     PathSelectorUnderTest.SelectPath();
 }