private void assertUploadPackRefs(String... expectedWithMeta) throws Exception {
  try (Repository repo=repoManager.openRepository(project)){
    assertRefs(repo,new VisibleRefFilter(tagCache,notesFactory,changeCache,repo,projectControl(),new DisabledReviewDb(),true),true,expectedWithMeta);
  }
 }

private void assertUploadPackRefs ( String ... expectedWithMeta ) throws Exception { try ( Repository repo = repoManager . openRepository ( project ) ) { assertRefs ( repo , new VisibleRefFilter ( tagCache , notesFactory , changeCache , repo , projectControl ( ) , new DisabledReviewDb ( ) , true ) , true , expectedWithMeta ) ; } }
assert that refs seen by a non - admin user match expected .
