/** Verify URI with name */
 public void testUriWithTrailingSlashes() {
   User user = UserUriMatcher.getUser(Uri.parse("http://github.com/defunkt//"));
   assertNotNull(user);
   assertEquals("defunkt", user.getLogin());
 }
 /** Verify URI with name */
 public void testHttpsUriWithName() {
   User user = UserUriMatcher.getUser(Uri.parse("https://github.com/mojombo"));
   assertNotNull(user);
   assertEquals("mojombo", user.getLogin());
 }
 /** Verify no name */
 public void testUriWithNoName() {
   assertNull(UserUriMatcher.getUser(Uri.parse("http://github.com")));
   assertNull(UserUriMatcher.getUser(Uri.parse("https://github.com")));
   assertNull(UserUriMatcher.getUser(Uri.parse("http://github.com/")));
   assertNull(UserUriMatcher.getUser(Uri.parse("http://github.com//")));
 }
 /** Verify URI with name */
 public void testHttpUriWithName() {
   User user = UserUriMatcher.getUser(Uri.parse("http://github.com/defunkt"));
   assertNotNull(user);
   assertEquals("defunkt", user.getLogin());
 }
 /** Verify empty URI */
 public void testEmptyUri() {
   assertNull(UserUriMatcher.getUser(Uri.parse("")));
 }