public void JsonMappingTo_CanAddRemove_HasSourceName_CanRemoveFalse_CanAddTrue()
 {
     //------------Setup for test--------------------------
     var jsonMappingTo = new JsonMappingTo();
     jsonMappingTo.SourceName = "[[val]]";
     jsonMappingTo.DestinationName = "";
     //-------------Assert-----------------------------------
     Assert.IsFalse(jsonMappingTo.CanRemove());
     Assert.IsTrue(jsonMappingTo.CanAdd());
 }
 public void JsonMappingTo_Ctor()
 {
     //------------Setup for test--------------------------
     var jsonMappingTo = new JsonMappingTo("[[bob]]",1,false);
     Assert.AreEqual("bob", jsonMappingTo.DestinationName);
     Assert.AreEqual("[[bob]]", jsonMappingTo.SourceName);
     Assert.IsFalse(jsonMappingTo.CanRemove());
     Assert.AreEqual(1,jsonMappingTo.IndexNumber);
 }