Object[][] () { return new Object[][] { { "BEGIN_WITH_DOT", ".branch" }, { "BEGINS_WITH_SLASH", "/branch" }, { "ONLY_DOT", "." }, { "ENDS_WITH_SLASH", "branch/" }, { "ENDS_WITH_DOT", "branch." }, { "ENDS_WITH_LOCK", "branch.lock" }, { "TWO_DOTS_1", "branch..name" }, { "TWO_DOTS_2", "..name" }, { "TWO_DOTS_3", "..branch" }, { "EMPTY", ""}, { "SPACES", " "}, { "STARTS_WITH_MINUS", "-branch" } }; }