mageekguy/atoum — pull request #35 by menthol (2011-11-13 15:25:23+00:00)
Title: Draft implementation of callTo.

Just a draft for now. Please review.

example usage :
```php
assert
->callTo($callback)
->withArguments('a', 'b', 'c')
->hasOutput('a,b,c')
->outputHasString() // Conversion to string assert
->match('#a,b,c#');
$this->assert
->callTo($callback)
->withArguments('d', 'e', 'f')
->return('d:e:f');

$callback2 = function() {
return func_get_args();
};
$this->assert
->callto($callback2)
->withArguments('g', 'h', 't')
->return(array('g', 'h', 't'))
->returnHasPhpArray()
->contains('t');
?>
```