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