public function testGettersAndSetters() { $scope = new Scope(); $this->assertNull($scope->getId()); $scope->setName('scope'); $this->assertEquals('scope', $scope->getName()); $scope->setDescription('Fooo'); $this->assertEquals('Fooo', $scope->getDescription()); $scope->setIsDefault(true); $this->assertTrue($scope->isDefault()); }