public void HasBeenTouched_DoesNotLoadData() { _customerEndPoint.Touch(); _customerEndPoint.MarkDataIncomplete(); var result = _customerEndPoint.HasBeenTouched; Assert.That(_customerEndPoint.IsDataComplete, Is.False); Assert.That(result, Is.True); }
public void CollectionEndPoint_Touched() { _endPoint.Touch(); CollectionEndPoint deserializedEndPoint = FlattenedSerializer.SerializeAndDeserialize(_endPoint); Assert.That(deserializedEndPoint.HasBeenTouched, Is.True); }
public void Touch() { Assert.That(_endPoint.HasBeenTouched, Is.False); _endPoint.Touch(); Assert.That(_endPoint.HasBeenTouched, Is.True); }