Example #1
0
        public void SortCurrentData()
        {
            Comparison <DomainObject> comparison = (one, two) => 0;

            _loadStateMock.Expect(mock => mock.SortCurrentData(_endPoint, comparison));
            _loadStateMock.Replay();

            _endPoint.SortCurrentData(comparison);

            _loadStateMock.VerifyAllExpectations();
            Assert.That(_endPoint.HasBeenTouched, Is.True);
        }