Пример #1
0
        public void BlockTest()
        {
            var message = FluentMessage.BuildMessage("test");
            const int X = 4;
            var block = new FluentMessage.MessageBlock(message, X, string.Empty);

            Assert.AreEqual("The  value:\n\t[4]", block.GetMessage());

            block.WithHashCode().WithType();

            Assert.AreEqual("The  value:\n\t[4] of type: [int] with HashCode: [4]", block.GetMessage());
        }
Пример #2
0
 public void BlockFailTest()
 {
     var block = new FluentMessage.MessageBlock(null, null, string.Empty);
 }