### Question:
Event implements IEvent, TbaDatabaseModel, ViewModelRenderer<EventViewModel, Integer> { @Override public void setStartDate(@Nullable Date startDate) { this.startDate = startDate; } Event(); @Nullable @Override Integer getWeek(); @Override void setWeek(@Nullable Integer competitionWeek); @Override @Nullable Date getEndDate(); void setEndDate(@Nullable Date endDate); @Override String getEventCode(); @Override void setEventCode(String eventCode); @Override @Nullable IDistrict getDistrict(); @Override void setDistrict(@Nullable IDistrict district); @Nullable String getDistrictKey(); void setDistrictKey(@Nullable String districtKey); @Nullable @Override Integer getEventType(); @Override void setEventType(Integer eventType); @Nullable @Override String getEventTypeString(); @Override void setEventTypeString(@Nullable String eventTypeString); @Override String getKey(); @Override void setKey(String key); @Nullable @Override Long getLastModified(); @Override void setLastModified(@Nullable Long lastModified); @Override @Nullable String getAddress(); @Override void setAddress(@Nullable String address); @Override String getName(); @Override void setName(String name); @Nullable @Override String getShortName(); @Override void setShortName(@Nullable String shortName); @Override void setStartDate(@Nullable Date startDate); @Override @Nullable Date getStartDate(); @Nullable @Override String getTimezone(); @Override void setTimezone(@Nullable String timezone); @Nullable @Override String getWebcasts(); @Override void setWebcasts(@Nullable String webcasts); @Nullable @Override String getWebsite(); @Override void setWebsite(String website); @Override void setYear(Integer year); @Override Integer getYear(); @Override @Nullable String getGmapsUrl(); @Override void setGmapsUrl(@Nullable String gmapsUrl); @Override @Nullable String getLocationName(); @Override void setLocationName(@Nullable String locationName); @Nullable String getLocation(); @Nullable String getCity(); void setCity(@Nullable String city); void setLocation(@Nullable String location); void setStartDate(String startString); void setStartDate(long timestamp); Date getFormattedStartDate(); void setEndDate(String endString); void setEndDate(long timestamp); Date getFormattedEndDate(); String getYearAgnosticEventKey(); void setCompetitionWeekFromStartDate(); boolean isHappeningNow(); boolean isChampsEvent(); String getDateString(); EventType getEventTypeEnum(); String getEventDistrictString(); String getSearchTitles(); @Nullable @Override EventViewModel renderToViewModel(Context context, @Nullable @RenderType Integer renderType); @Override ContentValues getParams(Gson gson); static final int RENDER_BASIC; static final int RENDER_MYTBA_BUTTON; static final String[] NOTIFICATION_TYPES; }### Answer:
@Test(expected = IllegalArgumentException.class) public void testBadStartDate() { mCleanEvent.setStartDate("foobar"); }