public function testFailureGetErrors() { $this->_200ErrorResponse(); $this->assertInternalType(PHPUnit_Framework_Constraint_IsType::TYPE_ARRAY, $this->object->getErrors()); foreach ($this->object->getErrors() as $error) { $this->assertInstanceOf('WirecardCEE_Stdlib_Error', $error); } $this->assertEquals($this->object->getNumberOfErrors(), count($this->object->getErrors())); }