public void CheckStates(CodeConfig config, IEnumerable <string> expected) { var states = config.EnumerateStates().ToList(); states .Select(s => s.State.Values.Format()) .ShouldBe(expected, true); }
public void CheckCount(CodeConfig config, int expected) { var states = config.EnumerateStates(); states.Count().ShouldBe(expected); }