public void TestScoringOnARunningBack() { var sut = new YahooProjectionScorer(); var w = new NFLWeek( "2014", "14" ); var p = new NFLPlayer( "BERNGI01" ); var gameKey = p.GameKeyFor( "2014", "14" ); // plyr needs their projections loaded too var dao = new DbfPlayerGameMetricsDao(); // Could use a Fake here var pgm = dao.GetPlayerWeek( gameKey, p.PlayerCode ); p.LoadProjections( pgm ); var score = sut.RatePlayer( p, w ); Assert.AreEqual( 12.0M, score ); }