public void ValidCourseId_ShouldNotHaveError() { var command = new DeleteCourseCommand {CourseId = "courseId"}; _sut.ShouldNotHaveValidationErrorFor(x => x.CourseId, command); }
public void Should_not_have_error_when_validate_query() { queryValidatior.ShouldNotHaveValidationErrorFor(x => x.Id, Guid.NewGuid()); }