public void GetFormatMap_ReturnsTwoMatches_WhenPassedFormatStringWithOneFormatObject()
        {
            TextFormatter formatter = new TextFormatter(dummyDefaultColor);

            List<KeyValuePair<string, Color>> formatMap = formatter.GetFormatMap(dummyFormatString, new object[] { dummyStringTrailer }, new Color[] { dummyStyledColor });

            Assert.AreEqual(formatMap.Count, 2);
        }
        public void GetFormatMap_ReturnsInput_WhenInputAndPatternAreNonoverlapping()
        {
            TextFormatter formatter = new TextFormatter(dummyDefaultColor);

            List<KeyValuePair<string, Color>> formatMap = formatter.GetFormatMap(dummyUnformattedString, new object[] {}, new Color[] { dummyStyledColor });

            Assert.AreEqual(formatMap.Single().Key, dummyUnformattedString);
        }