* @throws Exception - If something goes wrong.
*/
@Test
public void iteratesReferencesInSubNamespace() throws Exception {
final Repo owner = this.repo();
final References refs = owner.git().references();
refs.create("refs/heads/br", "qweqwe");
refs.create("refs/tags/t1", "111t222");
MatcherAssert.assertThat(
refs.iterate("heads"),
Matchers.<Reference>iterableWithSize(1)