/**
  * @expectedException \LogicException
  */
 public function testGetRelationshipBuilderValidatesBuilder()
 {
     $serializer = new PostSerializer1();
     $serializer->getRelationshipBuilder('invalid');
 }
예제 #2
0
 /**
  * @expectedException \LogicException
  */
 public function testGetRelationshipValidatesRelationship()
 {
     $serializer = new PostSerializer1();
     $serializer->getRelationship(null, 'invalid');
 }