get() public method

public get ( $locale, $filter = [], $limit = null, $offset = null )
示例#1
0
 public function testGetWithoutToken()
 {
     $this->tokenStorage->getToken()->willReturn(null);
     $this->mediaRepository->findMedia(Argument::cetera())->willReturn([])->shouldBeCalled();
     $this->mediaRepository->count(Argument::cetera())->shouldBeCalled();
     $this->mediaManager->get(1);
 }