public void RemoveExecuteOrderRuleRemovesRulesFromCompilerTest() { var target = new BuildStrategyCompiler(); target.AddExecuteOrderRule<DummyExecuteOrderRule>(); target.RemoveExecuteOrderRule<DummyExecuteOrderRule>(); target.ExecuteOrderRules.Should().BeEmpty(); }