@Test public void testMissingLocation() { tried.expect(BuildException.class); tried.expectMessage("location not set"); Find find = new Find(); find.setFile("ant.jar"); find.execute(); }
public void setFile(String file) { this.file = file; }
Find extends Task { public void setFile(String file) { this.file = file; } }
Find extends Task { public void setFile(String file) { this.file = file; }  }
Find extends Task { public void setFile(String file) { this.file = file; }  void setFile(String file); void setLocation(String location); void addFileset(FileSet fileset); void execute2(); }
Find extends Task { public void setFile(String file) { this.file = file; }  void setFile(String file); void setLocation(String location); void addFileset(FileSet fileset); void execute2();  }