public function testToParamWithEmptyPrimaryKeyReturnsNull() { $model = new UnitTest(); $this->assertNull($model->id); $this->assertNull($model->toParam()); }