/** * Tests the getStatus method * * @return void * * @since 3.0 */ public function testGetStatus() { $this->assertInternalType('array', $this->object->getStatus()); }
/** * @testdox The schema's status is correctly validated * * @covers JSchemaChangeset::getStatus */ public function testTheSchemaStatusIsCorrectlyValidated() { $status = $this->object->getStatus(); $this->assertArrayHasKey('unchecked', $status, 'An array should be returned containing a list of unchecked items'); $this->assertContainsOnlyInstancesOf('JSchemaChangeitemSqlsrv', $status['unchecked'], 'The unchecked items array should only contain JSchemaChangeitem objects'); }
/** * @todo Implement testGetStatus(). */ public function testGetStatus() { $this->assertThat($this->object->getStatus(), $this->isType('array')); }