コード例 #1
0
        public void Constructor_Message_SetToValueFromConstructor()
        {
            var pendingStepException = new PendingStepException("custom pending message");

            pendingStepException.Message.Should().Be("custom pending message");
        }
コード例 #2
0
        public void Constructor_Message_AlwaysSet()
        {
            var pendingStepException = new PendingStepException();

            pendingStepException.Message.Should().NotBeNullOrWhiteSpace();
        }