@Nullable
    public static Result parse(String url) {
        return parse(url, true);
    }
@Test
  public void testParse() {
    GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(url, strict);
    if (isNull) {
      assertNull(result);
    } else {
      assertEquals(gid, result.gid);
      assertEquals(token, result.token);
    }
  }