Beispiel #1
0
        public void Format_WithEmptyFormatString_ShouldReturnArgument()
        {
            MsBuildStringFormatter formatter = new MsBuildStringFormatter();

            Assert.AreEqual("Test", formatter.Format(string.Empty, "Test", _sutFormatter));
        }
Beispiel #2
0
        public void Format_WithDateTimeFormatProvider_ShouldReturnEmptyString()
        {
            MsBuildStringFormatter formatter = new MsBuildStringFormatter();

            Assert.AreEqual(string.Empty, formatter.Format("{0}", "Test", DateTimeFormatInfo.CurrentInfo));
        }