### Question:
BakedItemList { public void setExcludedRecords(String[] excludedRecordsin) { this.excludedRecords = excludedRecordsin; } BakedItemList(); String getListName(); void setListName(String listNamein); BakedItem[] getItemList(); void setItemList(BakedItem[] itemListin); int getItemCount(); void setItemCount(int itemCountin); String[] getExcludedRecords(); void setExcludedRecords(String[] excludedRecordsin); int getExcludedCount(); void setExcludedCount(int excludedCountin); static int getListCount(); static void resetListCount(); void readItemFile(String fileName); String generateReport(); String generateReportByClass(); String generateReportByPrice(); String generateReportByFlavor(); String generateExcludedRecordsReport();  }### Answer:
@Test public void setExcludedRecords() throws Exception { BakedItemList b = new BakedItemList(); String[] excludedRecords = {"Test,test,test,0,test,test,test,test"}; b.setExcludedRecords(excludedRecords); Assert.assertEquals(excludedRecords[0], b.getExcludedRecords()[0]); }