Beispiel #1
0
        public void TestGetUnderwriters()
        {
            ICatWorkbookService catWorkbookService = new CatWorkbookService();

            Dictionary <int, string> uwDictionary = catWorkbookService.GetUnderwriters();

            Assert.Greater(uwDictionary.Count, 0);
        }
Beispiel #2
0
        public void TestGetEffectiveYears()
        {
            ICatWorkbookService catWorkbookService = new CatWorkbookService();

            var years = catWorkbookService.GetEffectiveYears();

            Assert.Greater(years.Count, 0);
        }
Beispiel #3
0
        public void TestGetProgramList()
        {
            ICatWorkbookService catWorkbookService = new CatWorkbookService();

            var programs = catWorkbookService.GetPrograms(8783, 2013); // thomas brazil, 2013

            Assert.Greater(programs.Count, 0);
            Console.Out.WriteLine("Num Programs: " + programs.Count);
        }
Beispiel #4
0
        public void TestGetProgram()
        {
            int programID;

            programID = 44559;

            ICatWorkbookService catWorkbookService = new CatWorkbookService();

            Program program = catWorkbookService.GetProgramById(programID);

            Assert.IsNotNull(program);
        }