public function testCreateFunctionWithByReferenceParam()
{
Mocker::overwriteFunction('lithium\\tests\\mocks\\test\\getmxrr', function ($host, &$mxhosts) {
$mxhosts = 'foo_bar';
return;
});
$foo = 'baz';
\lithium\tests\mocks\test\getmxrr('foo', $foo);
$this->assertIdentical('foo_bar', $foo);
}