### Question:
ReportGenerator { public void generateReportFor(User user) throws FileNotFoundException, IOException { UserData data = db.getDataFor(user); if(data.isSpecial()) { new FileOutputStream(reportFile).write(("special,"+user.email).getBytes()); } else { new FileOutputStream(reportFile).write(("normal,"+user.email).getBytes()); } } ReportGenerator(); void generateReportFor(User user);  }### Answer:
@Test public void shouldGenerateReport() throws IOException { new ReportGenerator().generateReportFor(aUser("mike")); }