Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add functionality to Stub to allow ConsecutiveCallStub #1300
Add functionality to support ConsecutiveCallStub - PHPUnit via the Stub Class
<?php $user = Stub::make('User', array('getName' => Stub::consecutive('david', 'emma', 'sam', 'amy'))); $user->getName(); //david $user->getName(); //emma $user->getName(); //sam $user->getName(); //amy ?>