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