ReturnArgument.php Interfaces, Classes and Traits PHPUnit_Framework_MockObject_Stub_ReturnArgument Stubs a method by returning an argument that was passed to the mocked method.