コード例 #1
0
        public void BlockTest()
        {
            var       message = FluentMessage.BuildMessage("test");
            const int x       = 4;
            var       block   = MessageBlock.Build(message, x, GenericLabelBlock.BuildCheckedBlock(new EntityNamingLogic()));

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

            block.WithHashCode().WithType();

            Assert.AreEqual("The checked value:" + NewLine + "\t[4] of type: [int] with HashCode: [4]", block.GetMessage());
        }