示例#1
0
        public void ValidCourseId_ShouldNotHaveError()
        {
            var command = new DeleteCourseCommand {CourseId = "courseId"};

            _sut.ShouldNotHaveValidationErrorFor(x => x.CourseId, command);
        }
示例#2
0
 public void Should_not_have_error_when_validate_query()
 {
     queryValidatior.ShouldNotHaveValidationErrorFor(x => x.Id, Guid.NewGuid());
 }