public void RemovePostBuildActionRemovesRulesFromCompilerTest() { var target = new BuildStrategyCompiler(); target.AddPostBuildAction<DummyPostBuildAction>(); target.RemovePostBuildAction<DummyPostBuildAction>(); target.PostBuildActions.Should().BeEmpty(); }
public void AddPostBuildActionAddsRuleToCompilerTest() { var target = new BuildStrategyCompiler(); target.AddPostBuildAction<DummyPostBuildAction>(); var actual = target.PostBuildActions.Single(); actual.Should().BeOfType<DummyPostBuildAction>(); }