Object[][] () { return new Object[][] { { "WORD", "branch" }, { "UNDERSCORED_WORD", "new_branch" }, { "HIERARCHY", "user/branch" }, { "HIERARCHY_2", "user/branch/sub_branch" }, { "NON_CONS_DOTS", "complex.branch.name" }, { "GERRIT_PATTERN", "refs/for/master%topic=my-cool-feature,r=some-reviewer"}, { "CONTAINS_MINUS", "b-ranch"}, { "STARTS_WITH_PLUS", "+branch"} }; }