public function testRun()
{
$closure = function ($a) {
echo 'Some nifty output.';
return 0;
};
$callback = new Callback($closure);
$callback->run();
$this->assertAttributeEquals(0, '_exitCode', $callback);
$this->assertAttributeEquals('Some nifty output.', '_output', $callback);
}