for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Magium;
abstract class AbstractCallbackTestCase extends AbstractTestCase
{
abstract public function getCallback();
public function testExecute()
$callback = $this->getCallback();
if (!is_callable($callback)) {
throw new NotFoundException('Callback not found');
}
return $callback();