public void ReadRequest_Should_Return_Null_From_Null_QueryString() { HttpRequest req = SetupGetRequest(); DataIds parsed = _reader.ReadRequest(req); parsed.Should().BeNull(); }
public void ReadRequest_Should_Return_Null_When_Wrong_ContentType() { HttpRequest req = SetupJsonRequest(new Division { Id = 5, OrganizationId = 15 }); req.ContentType = "text/html"; DataIds parsed = _reader.ReadRequest(req); parsed.Should().BeNull(); }