public function testSerializeAgent()
 {
     $agent = ActorFixtures::getAgent();
     $this->assertJsonEquals(ActorJsonFixtures::getAgent(), $this->actorSerializer->serializeActor($agent));
 }
예제 #2
0
 public function getObjectsToValidate()
 {
     return array(array(ActorFixtures::getAgent(), 0), array(new Agent(), 1));
 }