Beispiel #1
0
 /**
  * @param \HHPnet\Core\Domain\Groups\Group $group
  */
 public function let(Group $group)
 {
     $group->getId()->willReturn(1);
     $group->getName()->willReturn('name');
     $group->getCountry()->willReturn('country');
     $group->getBio()->willReturn('bio');
     $this->beConstructedWith($group);
 }
Beispiel #2
0
 /**
  * @return string
  */
 public function bio()
 {
     return $this->group->getBio();
 }