Beispiel #1
0
 /**
  * {@inheritDoc}
  */
 public function count()
 {
     $this->logMethodCall(__FUNCTION__);
     return $this->delegate->count();
 }
Beispiel #2
0
 public function it_provides_the_database_size()
 {
     $this->repository->count()->willReturn(1);
     $this->getSize()->shouldReturn(1);
 }