public void StartPosition_UsingGetter_ReturnsValueSpecifiedAtConstruction()
 {
     const int expectedValue = 10;
     var map = new Map("int", "Int32");
     var patternHit = new PatternHit(expectedValue, map);
     Assert.AreEqual(expectedValue, patternHit.StartPosition);
 }
 public void ReplaceWith_ConstructedWithAMapContainingTheCLRTypeString_ReturnsValueString()
 {
     var map = new Map("string", "String");
     var patternHit = new PatternHit(10, map);
     Assert.AreEqual("String", patternHit.ReplaceWith);
 }
 public void CharsToReplace_ConstructedWithAMapContainingA3CharacterAlias_ReturnsTheNumber3()
 {
     var map = new Map("int", "Int32");
     var patternHit = new PatternHit(10, map);
     Assert.AreEqual(3, patternHit.CharsToReplace);
 }