CowsayTask extends Task { public void setProperty(final String property) { this.property = property; }  void setProperty(final String property); void setCowfile(final String cowfile); void setThink(final boolean think); void setLang(final String lang); void setAlt(final String alt); void setHtml(final boolean html); void setTongue(final String tongue); void setWrap(final String wrap); void setMessage(final String message); void addText(final String text); void setMode(final String mode); @Override void execute();  }
@Test public void testSetProperty() { System.out.println("setProperty"); String property = "moo.cow"; CowsayTask instance = new CowsayTask(); Project project = new Project(); instance.setProject(project); instance.setProperty(property); instance.setMessage("Hello"); instance.execute(); String actual = project.getProperty("moo.cow"); String expResult = TestUtils.loadExpected("cowsayHello.txt"); TestUtils.cowfileCompare(expResult, actual); }