public void testTaskStartedVerifyDummyTaskFails() throws Exception {
MockControl prCtrl = MockClassControl.createNiceControl(Project.class);
Project project = (Project)prCtrl.getMock();
MockControl xhCtrl = MockClassControl.createNiceControl(XharnessTask.class);
XharnessTask xhTask = (XharnessTask)xhCtrl.getMock();
xhTask.getPattern();
xhCtrl.setReturnValue(null);
xhTask.getName();
xhCtrl.setReturnValue("foo");
xhTask.getResultsdir();
xhCtrl.setReturnValue(null);
xhTask.getBasedir();
xhCtrl.setReturnValue(null);
xhTask.getProject();
xhCtrl.setReturnValue(project);
MockControl tkCtrl = MockClassControl.createControl(ServiceVerifyTask.class);
tkCtrl.setDefaultMatcher(new ExceptionMatcher());
ServiceVerifyTask task = (ServiceVerifyTask)tkCtrl.getMock();