StakeTest.php mock