예제 #1
0
        public void RegisterCurrentOppositeEndPoint()
        {
            _loadStateMock.Expect(mock => mock.RegisterCurrentOppositeEndPoint(_endPoint, _relatedEndPointStub));
            _loadStateMock.Replay();

            _endPoint.RegisterCurrentOppositeEndPoint(_relatedEndPointStub);

            _loadStateMock.VerifyAllExpectations();
        }