protected override void Context() { _sourceCollection = new HashSet <DummyUpdatable>(); _targetDictionary = new HashSet <DummyUpdatable>(); _target1 = new DummyUpdatable { Id = "key1" }; _target2 = new DummyUpdatable { Id = "key2" }; _targetDictionary.Add(_target1); _targetDictionary.Add(_target2); }
protected override void Context() { base.Context(); _source3 = new DummyUpdatable { Id = "key3" }; _source2 = new DummyUpdatable { Id = "key2" }; _sourceCollection.Add(_source3); _sourceCollection.Add(_source2); _session = A.Fake <ISession>(); }
public void UpdateFrom(DummyUpdatable source, ISession session) { Updated = true; }