public void GetFulfillingReplicaItemChanges_RepositoryHasChanges_ChangesInSyncResult() { var repository = Mocking.MockAndBind <IRepository <TestItem, Guid> >(_container); var changes = new List <TestItem> { new TestItem() }; Mock.Arrange(() => repository.GetChangesSince(Arg.AnyDateTime)).Returns(changes); var target = new SyncResult <TestItem, Guid>(_container); target.GetFulfillingReplicaItemChanges(Mock.Create <ISyncRequest <Guid> >()); Assert.IsTrue(target.FulfillingReplicaItemChanges.Any(si => si.Id == changes.First().Id)); }