private bool Equals(DummyResource other) { if (ReferenceEquals(null, other)) { return(false); } return(ReferenceEquals(this, other) || Equals(other.DummyProperty, DummyProperty)); }
private void AndTheResponseWasDeserialized() { _deserializedResource = new DummyResource(); _mockedSerializer .Setup( it => it.Deserialize <DummyResource>(It.IsAny <string>())) .Returns(_deserializedResource); }
private void AndTheResponseWasDeserialized() { _deserializedResource = new DummyResource(); _mockedSerializer .Setup( it => it.Deserialize<DummyResource>(It.IsAny<string>())) .Returns(_deserializedResource); }
private bool Equals(DummyResource other) { if (ReferenceEquals(null, other)) return false; return ReferenceEquals(this, other) || Equals(other.DummyProperty, DummyProperty); }