Skip to content

Instantly share code, notes, and snippets.

@bobthecow
Forked from avalanche123/test.php
Created May 16, 2011 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobthecow/974689 to your computer and use it in GitHub Desktop.
Save bobthecow/974689 to your computer and use it in GitHub Desktop.
<?php
$user2->expects($this->infinite())
->method('getSalt')
->will(
$this->returnCallback(function() use (&$user2) {
return $user2->getSalt();
})
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment