public function testGetProjectNameForNewInstance() { $map = new ProjectsMap("http://phabricator.acme.tld"); $this->assertSame("Agora", $map->getProjectName("PHID-PROJ-cztcgpvqr6smnnekotq7")); }
public function testGetProjectNameWhenItDoesNotExist() { $this->assertSame("", $this->map->getProjectName("non-existing-key")); }