  @Test
  public void editSuffix() {

    assertThat(ProjectChangeId.create("123,edit/some/path")).isEqualTo(result(null, 123));
    assertThat(ProjectChangeId.create("123,edit/")).isEqualTo(result(null, 123));
    assertThat(ProjectChangeId.create("123,edit")).isEqualTo(result(null, 123));

    assertThat(ProjectChangeId.create("test/+/123,edit/some/path")).isEqualTo(result("test", 123));
    assertThat(ProjectChangeId.create("test/+/123,edit/")).isEqualTo(result("test", 123));
    assertThat(ProjectChangeId.create("test/+/123,edit")).isEqualTo(result("test", 123));
  }