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