public void iteratesHeads() throws Exception {
final Repo owner = this.repo();
final References refs = owner.git().references();
refs.create("refs/heads/branch2", "blahblah");
MatcherAssert.assertThat(
refs.heads(),
Matchers.<Reference>iterableWithSize(1)
);
}
/**