void (String branchName) { assertFalse("Should be invalid", GitRefNameValidator.getInstance().checkInput(branchName)); assertFalse("Should be invalid", GitRefNameValidator.getInstance().canClose(branchName)); }