Example #1
0
        public void UpdateCurrentOverShouldSetOver()
        {
            //Act
            this._inning.UpdateCurrentOver(this._bowler, this._striker, this._nonStriker);

            //Assert
            this._inning.CurrentOver !.Bowler
            .Should()
            .Be(this._bowler);

            this._inning.CurrentOver !.Striker
            .Should()
            .Be(this._striker);

            this._inning.CurrentOver !.NonStriker
            .Should()
            .Be(this._nonStriker);
        }