final Hook hook = hooks.create(
// @checkstyle MultipleStringLiterals (1 line)
"geocommit", Collections.<String, String>emptyMap()
);
MatcherAssert.assertThat(
hooks.iterate(),
Matchers.<Hook>iterableWithSize(1)
);
hooks.remove(hook.number());
MatcherAssert.assertThat(
hooks.iterate(),