void (@NotNull Branch expected, @NotNull GitLocalBranch actual, @NotNull Hash hash) { assertEquals(expected.name, actual.getName()); assertEquals("Incorrect hash of branch " + actual.getName(), expected.hash, hash); }