Gc\Property\ModelTest::testSaveWithWrongValues PHP Метод

testSaveWithWrongValues() публичный Метод

Test
public testSaveWithWrongValues ( ) : void
Результат void
    public function testSaveWithWrongValues()
    {
        $configuration = Registry::get('Application')->getConfig();
        if ($configuration['db']['driver'] == 'pdo_mysql') {
            $this->markTestSkipped('Mysql does not thrown exception.');
        }
        $this->setExpectedException('Gc\\Exception');
        $this->object->setIdentifier(null);
        $this->assertFalse($this->object->save());
    }