コード例 #1
0
        public void Mapper_SimpleString_Format_Empty()
        {
            var formatter = new SimpleStringFormatter();

            formatter.Format("").Should().BeEmpty();
        }
コード例 #2
0
        public void Mapper_SimpleString_Format_Null()
        {
            var formatter = new SimpleStringFormatter();

            formatter.Format((string)null).Should().BeEmpty();
        }
コード例 #3
0
        public void Mapper_SimpleString_Format()
        {
            var formatter = new SimpleStringFormatter();

            formatter.Format("test").Should().Be("test");
        }