Exemplo n.º 1
0
 public function testLDUserLastName()
 {
     $builder = new LDUserBuilder("*****@*****.**");
     $user = $builder->lastName("Bar")->build();
     $this->assertEquals("Bar", $user->getLastName());
     $json = $user->toJSON();
     $this->assertEquals("Bar", $json['lastName']);
 }