Пример #1
0
 /**
  * @covers ::getPrimaryKey
  * @covers ::setPrimaryKey
  */
 public function testPrimaryKey()
 {
     $config = new Config(__NAMESPACE__ . '\\TestModel\\User');
     $this->assertEquals('id', $config->getPrimaryKey());
     $config->setPrimaryKey('guid');
     $this->assertEquals('guid', $config->getPrimaryKey());
 }