Esempio n. 1
0
        public void BlockTest()
        {
            var message = new FluentMessage("test");
            var 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());
        }
Esempio n. 2
0
 public void BlockFailTest()
 {
     var block = new FluentMessage.MessageBlock(null, null, string.Empty);
 }