2018-11-16 19:34:07 -03:00

19 lines
475 B
PHP
Executable File

<?php
namespace RedBeanPHP {
include_once 'tests/__mocks__/BeanMock.php';
class Facade extends \Mock {
public static $functionList = array();
public static function initStubs() {
self::setStatics(array(
'trash' => parent::stub(),
'store' => parent::stub(),
'exec' => parent::stub(),
'dispense' => parent::stub()->returns(new \BeanMock())
));
}
}
}