예제 #1
0
파일: principal.php 프로젝트: evanjt/core
 public function testGetPrincipalsByPrefixEmpty()
 {
     $this->userManager->expects($this->once())->method('search')->with('')->will($this->returnValue([]));
     $response = $this->connector->getPrincipalsByPrefix('principals/users');
     $this->assertSame([], $response);
 }