예제 #1
0
        public void ShouldValidateWhenComandIsValid()
        {
            var command = new CreateCommand();

            command.Title         = "test";
            command.PublishedData = DateTime.Now;

            Assert.AreEqual(true, command.Validation());
        }