/** * Method to test clearPrimaryKeys(). * * @return void * * @covers Windwalker\Relation\Handler\AbstractRelationHandler::clearPrimaryKeys */ public function testClearPrimaryKeys() { $table = new Table(static::TABLE_SAKURAS, array('id', 'state')); $table->id = 5; $table->state = 3; $this->instance->clearPrimaryKeys($table); $this->assertNull($table->id); $this->assertNull($table->state); }