Returns the current object.
This method is useful when mocking a fluent interface.
@since Method available since Release 3.6.0
PHPUnit_Framework_MockObject_Stub_ReturnSelf
public static function returnSelf() {
return new PHPUnit_Framework_MockObject_Stub_ReturnSelf();
}