public void Constructor_ExtractsContentCorrectly(string testString, string expectedContent) { HamlRuleFactory.ParseHamlRule(ref testString); Assert.AreEqual(expectedContent, testString); }
public void Constructor_CalculatesRuleTypeCorrectly(string testString, HamlRuleEnum expectedRule) { var rule = HamlRuleFactory.ParseHamlRule(ref testString); Assert.AreEqual(expectedRule, rule); }