public void testPattern() throws Exception {
MockControl prCtrl = MockClassControl.createNiceControl(Project.class);
Project project = (Project)prCtrl.getMock();
MockControl xhCtrl = MockClassControl.createControl(XharnessTask.class);
XharnessTask xhTask = (XharnessTask)xhCtrl.getMock();
xhTask.getPattern();
xhCtrl.setReturnValue("foo/bar/spam");
xhTask.getName();
xhCtrl.setReturnValue("foo");
xhTask.getResultsdir();
xhCtrl.setReturnValue(null);
xhTask.getBasedir();
xhCtrl.setReturnValue(null);
xhTask.getProject();
xhCtrl.setReturnValue(project);
xhTask.getErrorProperty();
xhCtrl.setReturnValue(null);
xhTask.getRuntimeConfigurableWrapper();
xhCtrl.setReturnValue(new RuntimeConfigurable(new Object(), "xharness"));
MockControl tkCtrl = MockClassControl.createControl(TestCaseTask.class);
TestCaseTask tcTask = (TestCaseTask)tkCtrl.getMock();
tcTask.getRuntimeConfigurableWrapper();