public void TestRenderAllFantasyProjections()
        {
            var dao    = new DbfPlayerGameMetricsDao();           //  Could use a Fake here
            var scorer = new YahooProjectionScorer();             //  Could use a Fake here
            var sut    = new FantasyProjectionReport("2013", Utility.CurrentWeek(), dao, scorer);

            sut.League = Constants.K_LEAGUE_Yahoo;
            sut.RenderAll();
            Assert.IsTrue(File.Exists(sut.FileName()));
            sut.League = Constants.K_LEAGUE_50_Dollar_Challenge;
            sut.RenderAll();
            Assert.IsTrue(File.Exists(sut.FileName()));
            sut.League = Constants.K_LEAGUE_Rants_n_Raves;
            sut.RenderAll();
            Assert.IsTrue(File.Exists(sut.FileName()));
        }
        public void TestFileGetsOutput()
        {
            var dao    = new DbfPlayerGameMetricsDao();           //  Could use a Fake here
            var scorer = new YahooProjectionScorer();             //  Could use a Fake here
            var sut    = new FantasyProjectionReport("2013", "01", dao, scorer);

            sut.League = Constants.K_LEAGUE_Yahoo;
            sut.Render();
            Assert.IsTrue(File.Exists(sut.FileName()));
        }
        public void TestRenderTommysRunningbacksProjection()
        {
            var dao    = new DbfPlayerGameMetricsDao();           //  Could use a Fake here
            var scorer = new YahooProjectionScorer();             //  Could use a Fake here
            var sut    = new FantasyProjectionReport("2013", "6", dao, scorer);

            sut.League = Constants.K_LEAGUE_50_Dollar_Challenge;
            sut.RenderRunningbacks();
            Assert.IsTrue(File.Exists(sut.FileName()));
        }
        public void TestFileGetsOutputForSF()
        {
            var dao    = new DbfPlayerGameMetricsDao();           //  Could use a Fake here
            var scorer = new YahooProjectionScorer();             //  Could use a Fake here
            var sut    = new FantasyProjectionReport("2013", "01", dao, scorer);

            sut.TeamFilter     = "SF";
            sut.CategoryFilter = "3";
            sut.Render();
            Assert.IsTrue(File.Exists(sut.FileName()));
        }