public static void DoesNotCreateNewInstance() { var expected = new JsonEntity(string.Empty, null, string.Empty, 0); var actual = expected.WithScore(0.1); actual.Should().BeSameAs(expected); expected.AdditionalProperties.ContainsKey("score").Should().BeTrue(); expected.AdditionalProperties["score"].As <double>().Should().BeApproximately(0.1, Epsilon); }