### Question:
GitskariosUriManager { public RepoInfo getRepoInfo(String url) throws GalimatiasParseException { if (isReserved(url)) { return null; } RepoInfo repoInfo = new RepoInfo(); URL parsedUrl = URL.parse(url); repoInfo.owner = parsedUrl.pathSegments().get(0); repoInfo.name = parsedUrl.pathSegments().get(1); return repoInfo; }  boolean isReserved(String uri); RepoInfo getRepoInfo(String url); RepoInfo getRepoInfo(Uri uri); User getUser(String url); User getUser(Uri uri); @NonNull CommitInfo getCommitInfo(Uri uri); @NonNull IssueInfo getIssueCommentInfo(Uri uri); @NonNull ReleaseInfo getReleaseInfo(Uri uri); @NonNull IssueInfo getIssueInfo(Uri uri); @NonNull FileInfo getFileInfo(Uri uri); static final String[] RESERVED_KEYS; }### Answer:
@Test public void shouldGiveGitskariosRepositoryValues_whenParsingGitskariosUrl() throws GalimatiasParseException { String uri = "https: RepoInfo repoInfo = urisManager.getRepoInfo(uri); assertEquals(repoInfo.owner, "gitskarios"); assertEquals(repoInfo.name, "Gitskarios"); }
@Test public void shouldGiveRepositoryNull_whenParsingGitskariosNotificationsUrl() throws GalimatiasParseException { String uri = "https: RepoInfo repoInfo = urisManager.getRepoInfo(uri); assertNull(repoInfo); }