public void AssignEvaluation_AddPropertyToJsonValue_ReturnsPropertyIfItExists() { //------------Setup for test-------------------------- JObject a = new JObject(); var x = new JValue("a"); a.Add("Bob", x); //------------Execute Test--------------------------- var res = AssignEvaluation.addPropertyToJsonNoValue(a, "Bob"); //------------Assert Results------------------------- Assert.IsTrue(ReferenceEquals(x, res)); }