示例#1
0
        public void PlayHandShouldChangeTheStateToMoreThanTwoCardsLeftRoundState()
        {
            var haveStateMock = new Mock <IStateManager>();
            var roundState    = new StartRoundState(haveStateMock.Object);

            roundState.PlayHand(8);
            haveStateMock.Verify(x => x.SetState(It.IsAny <MoreThanTwoCardsLeftRoundState>()), Times.Once);
        }