Exemplo n.º 1
0
        public void TestFailed_FrameHandler_SetFirstBowlForFrame_FrameIsNull()
        {
            //-- Arrange
            FrameHandler frameHandler    = new FrameHandler();
            var          kickedPinsCount = 1;

            //-- Act
            try
            {
                frameHandler.SetFirstBowlForFrame(null, kickedPinsCount);
            }
            catch (ArgumentNullException)
            {
                return;
            }

            //-- Assert
            Assert.Fail("Call did NOT throw the Argument Exception");
        }