public void Test_IfDetectorReturnsFalseIfWcfClientSectionDoesNotExists() { File.WriteAllText(testFilePath, clientNotExistsConfigText); var detector = new ClientDetector(testFilePath); Assert.False(detector.Find()); }
public void Test_IfDetectorReturnsTrueIfWcfClientExists() { File.WriteAllText(testFilePath, clientExistsConfigText); var detector = new ClientDetector(testFilePath); Assert.True(detector.Find()); }