/** * @covers Application\Entity\BusStop::getOperator * @dataProvider operatorProvider */ public function testGetOperator($operator) { $this->assertNull($this->object->getOperator()); $this->object->setOperator($operator); $this->assertEquals($operator, $this->object->getOperator()); }