public function testGetPrincipalsByPrefixEmpty() { $this->userManager->expects($this->once())->method('search')->with('')->will($this->returnValue([])); $response = $this->connector->getPrincipalsByPrefix('principals/users'); $this->assertSame([], $response); }