public void RemoveCreationRuleRemovesRulesFromCompilerTest() { var target = new BuildStrategyCompiler(); target.AddCreationRule<DummyCreationRule>(); target.RemoveCreationRule<DummyCreationRule>(); target.CreationRules.Should().BeEmpty(); }