private AddWithPostBuildActionThrowsExceptionWithNullRuleTest ( ) : void | ||
Результат | void |
public void AddWithPostBuildActionThrowsExceptionWithNullRuleTest()
{
var target = Substitute.For<IBuildStrategyCompiler>();
Action action = () => target.Add((IPostBuildAction) null);
action.ShouldThrow<ArgumentNullException>();
}