예제 #1
0
 /**
  * @covers Application\Entity\BusStop::toJson
  */
 public function testToJson()
 {
     $this->object->setCode('HTM:1001')->setLatitude('52.123456')->setLongitude('5.124322')->setName('some Location name');
     $this->assertInternalType('string', $this->object->toJson());
     $this->assertJson($this->object->toJson());
 }