public static function anyArgList()
{
return new AnyArgumentList();
}
protected function setUp() { parent::setUp(); $this->pdoMock = Mock::mock(); $this->dbMock = Mock::mock(); Mock::when($this->pdoMock)->query(Mock::anyArgList())->thenReturn(false); Mock::when($this->dbMock)->errorInfo()->thenReturn(array(1, 3, 'Preparation error')); }