public DefaultTestScope() { TestSerializationTarget = new TestSerializationTarget() { Data = "Serialization Test" }; TestJsonSerializationTarget = new TestJsonSerializationTarget() { Data = "Json Serialization Test" }; }
public void ObjectExtensions_GetDisplayValue_GetsDisplay_Return_Null_When_Passed_Null() { //setup var scope = new DefaultTestScope(); TestSerializationTarget orig = null; //act var clone = ObjectExtensions.Clone(orig); //assert Assert.IsNull(clone); }