registry.getFormatter();
trCtrl.setReturnValue(formatter);
MockControl tkCtrl = MockClassControl.createControl(ServiceDef.class);
ServiceDef task = (ServiceDef)tkCtrl.getMock();
task.stop();
tkCtrl.setThrowable(new ServiceVerifyException(new BuildException("foo")));
MockControl tlCtrl = MockClassControl.createControl(TestLogger.class);
TestLogger parent = (TestLogger)tlCtrl.getMock();
parent.getFullName();