public void CreatePatch() { var mapper = new ApiChainModelMapper(); var model = new ApiChainRequestModel(); model.SetProperties(1, Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"), "A", 1); JsonPatchDocument <ApiChainRequestModel> patch = mapper.CreatePatch(model); var response = new ApiChainRequestModel(); patch.ApplyTo(response); response.ChainStatusId.Should().Be(1); response.ExternalId.Should().Be(Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da")); response.Name.Should().Be("A"); response.TeamId.Should().Be(1); }