public void Test_Format_Int() { const int expected = 5; var actual = formatter.Format(expected, ResponseSpecification.Empty); actual.Should().Be(expected); }
public string Select(Guid saleId, ResponseSpecification responseSpecification) { var response = Select(saleId); var partialResponse = partialResponseFormatter.Format(response, responseSpecification); return(JsonConvert.SerializeObject(partialResponse)); }
public object FormatWithPartialResponseFormatter() { return(partialResponseFormatter.Format(serverModel, responseSpecification)); }