* MkRepos can remove an existing repo.
* @throws Exception If some problem inside
*/
@Test
public void removesRepo() throws Exception {
final Repos repos = new MkRepos(new MkStorage.InFile(), "jeff");
final Repo repo = MkReposTest.repo(repos, "remove-me", "remove repo");
MatcherAssert.assertThat(
repos.get(repo.coordinates()),
Matchers.notNullValue()
);
repos.remove(repo.coordinates());
this.thrown.expect(IllegalArgumentException.class);
this.thrown.expectMessage("repository jeff/remove-me doesn't exist");
repos.get(repo.coordinates());
}