public void Perform_RaisesDataContainerUnregisteringEvents()
        {
            _dataContainerMap.Register(_existingDataContainer);
            Assert.That(_dataContainerMap, Is.Not.Empty.And.Member(_existingDataContainer));
            _endPointManagerMock.Stub(mock => mock.Reset());

            _unloadCommand.Perform();

            _transactionEventSinkWithMock.AssertWasCalled(mock => mock.RaiseDataContainerMapUnregisteringEvent(_existingDataContainer));
        }
        public void StateUpdates_RoutedToTransactionEventSink_Null()
        {
            _stateUpdateListener.VirtualEndPointStateUpdated(_endPointID, null);

            _eventSinkWithWock.AssertWasCalled(mock => mock.RaiseVirtualRelationEndPointStateUpdatedEvent(_endPointID, null));
        }