public void GivenSwitchMethod_ReturnsFalse() { var method = _driver.GetType().GetMethod("Debug"); CommandLineOptionFactory.IsParameter(method).Should().BeFalse(); }
public void GivenNull_ThrowsException() { Assert.Throws <ArgumentNullException>( () => CommandLineOptionFactory.IsParameter(null)); }
public void GivenParameterMethod_ReturnsTrue() { var method = _driver.GetType().GetMethod("Find"); CommandLineOptionFactory.IsParameter(method).Should().BeTrue(); }
public void GivenModeMethod_ReturnsFalse() { var method = _driver.GetType().GetMethod("TestPerformance"); CommandLineOptionFactory.IsParameter(method).Should().BeFalse(); }