public void UnsuspendFixtureThrowsPluginExceptionTest()
        {
            //Arrange
            var fixture1 = new Fixture {
                Id = "fixture1Id"
            };
            var marketStateMock = new Mock <IMarketState>();

            marketStateMock.SetupGet(o => o.Id).Returns("market1Id");
            marketStateMock.SetupGet(o => o.IsForcedSuspended).Returns(true);
            var marketStateCollectionMock = new Mock <IUpdatableMarketStateCollection>();

            marketStateCollectionMock.SetupGet(o => o.FixtureId).Returns(fixture1.Id);
            marketStateCollectionMock.SetupGet(o => o.Markets).Returns(new[] { marketStateMock.Object.Id });
            marketStateCollectionMock.SetupGet(o => o[It.IsAny <string>()]).Returns(marketStateMock.Object);
            StateProviderMock.Setup(a =>
                                    a.GetMarketsState(It.IsAny <string>()))
            .Returns(marketStateCollectionMock.Object);
            AdapterPluginMock.Setup(o => o.UnSuspend(It.Is <Fixture>(f => f.Id.Equals(fixture1.Id)))).Throws <Exception>();
            var suspensionManager =
                new SuspensionManager(
                    StateProviderMock.Object,
                    AdapterPluginMock.Object);

            //Act
            void UnsuspendCall() => suspensionManager.Unsuspend(fixture1);

            //Assert
            Assert.Throws <PluginException>(UnsuspendCall);
            StateProviderMock.Verify(o =>
                                     o.GetMarketsState(It.Is <string>(f => f.Equals(fixture1.Id))),
                                     Times.Once);
            AdapterPluginMock.Verify(o =>
                                     o.UnSuspend(It.Is <Fixture>(f => f.Id.Equals(fixture1.Id))),
                                     Times.Once);
            AdapterPluginMock.Verify(o =>
                                     o.ProcessStreamUpdate(It.Is <Fixture>(f => f.Id.Equals(fixture1.Id)), false),
                                     Times.Once);
            AdapterPluginMock.Verify(o =>
                                     o.ProcessStreamUpdate(It.IsAny <Fixture>(), true),
                                     Times.Never);
            marketStateCollectionMock.Verify(o =>
                                             o.OnMarketsForcedUnsuspension(It.IsAny <IEnumerable <IMarketState> >()),
                                             Times.Once);
        }