### Question:
GeneratePrograms { public String CreateWeeklyProgramNamedOnChannelStartingOnAtLengthEpisodes( String programName, int channel, String startDate, String startTime, int lengthInMinutes, int episodes) throws ParseException { generateManyPrograms(programName, channel, startDate, startTime, lengthInMinutes, episodes, 7); return addProgramsToSchedule.lastId(); }  int TotalEpisodesCreated(); String CreateWeeklyProgramNamedOnChannelStartingOnAtLengthEpisodes(
         String programName, int channel, String startDate, String startTime,
         int lengthInMinutes, int episodes); String CreateDailyProgramNamedOnChannelStartingOnAtLengthEpisodes(
         String programName, int channel, String startDate, String startTime,
         int lengthInMinutes, int episodes);  }### Answer:
@Test(expected = ConflictingProgramException.class) public void GeneratingConflictingProgramsThrowsException() throws Exception { generatePrograms.CreateWeeklyProgramNamedOnChannelStartingOnAtLengthEpisodes("N1", 7, "3/4/2008", "21:00", 60, 1); generatePrograms.CreateWeeklyProgramNamedOnChannelStartingOnAtLengthEpisodes("N2", 7, "3/4/2008", "21:00", 60, 1); }