void () { assertEquals(" Wrong validation for " + myBranchName, myExpected, myValidator.checkInput(myBranchName)); assertEquals(" Should be valid " + myBranchName, myExpected, myValidator.canClose(myBranchName)); }