public void GetOriginalData() { var fakeResult = new ReadOnlyCollectionDataDecorator(new DomainObjectCollectionData()); _loadStateMock.Expect(mock => mock.GetOriginalData(_endPoint)).Return(fakeResult); _loadStateMock.Replay(); var result = _endPoint.GetOriginalData(); _loadStateMock.VerifyAllExpectations(); Assert.That(result, Is.SameAs(fakeResult)); }