codeception stubs code example
Example: codeception mock
$this->make('User');
$this->make('User', ['name' => 'davert']);
//Accepts either name of class or object of that class
$this->make('User');
$this->make('User', ['name' => 'davert']);
//Accepts either name of class or object of that class