public void UpdateScore_Calls_Score_Engine_On_Each_Frame_With_Correct_Parameters() { for (var index = 0; index < _testObject.Frames.Count; index++) { var frameToScore = _testObject.Frames.ElementAt(index); _scorerFactory.Expect(s => s.GetScorer(frameToScore)).Return(_frameScorer); _frameScorer.Expect(f => f.ScoreFrame(frameToScore)).Return(1); } _testObject.UpdateScore(); }