public TestResourceControllerMockery WithInvalidOrderByClause() { OrderByPropertyMappingService .Setup(s => s.ClauseIsValid(It.IsAny <string>())) .Returns((false, new ProblemDetails())); return(this); }
public TestResourceControllerMockery WithValidOrderByClause() { OrderByPropertyMappingService .Setup(s => s.ClauseIsValid(It.IsAny <string>())) .Returns((true, null)); return(this); }