diff --git a/src/CommonNuget.props b/src/CommonNuget.props
index a29d6bb..62f6d51 100644
--- a/src/CommonNuget.props
+++ b/src/CommonNuget.props
@@ -8,6 +8,6 @@
https://github.com/Microsoft/NLU.DevOps
https://github.com/Microsoft/NLU.DevOps.git
© Microsoft Corporation.
- 0.5.2
+ 0.5.3
diff --git a/src/NLU.DevOps.Core.Tests/LabeledUtterancePropertyExtensionsTests.cs b/src/NLU.DevOps.Core.Tests/LabeledUtterancePropertyExtensionsTests.cs
index c429cff..b11a920 100644
--- a/src/NLU.DevOps.Core.Tests/LabeledUtterancePropertyExtensionsTests.cs
+++ b/src/NLU.DevOps.Core.Tests/LabeledUtterancePropertyExtensionsTests.cs
@@ -21,6 +21,16 @@ public static void ThrowsArgumentNull()
nullUtterance.Should().Throw().And.ParamName.Should().Be("instance");
}
+ [Test]
+ public static void DoesNotCreateJsonInstance()
+ {
+ var expected = new Entity(string.Empty, null, string.Empty, 0);
+ var actual = expected.WithScore(null);
+ actual.Should().BeSameAs(expected);
+ expected.GetScore().Should().BeNull();
+ actual.GetScore().Should().BeNull();
+ }
+
[Test]
public static void DoesNotCreateNewInstance()
{
diff --git a/src/NLU.DevOps.Core/NLU.DevOps.Core.csproj b/src/NLU.DevOps.Core/NLU.DevOps.Core.csproj
index c7e2893..f45c91f 100644
--- a/src/NLU.DevOps.Core/NLU.DevOps.Core.csproj
+++ b/src/NLU.DevOps.Core/NLU.DevOps.Core.csproj
@@ -3,7 +3,7 @@
netstandard2.0
- 0.4.0
+ 0.5.0