protected function assertRemoteBranches(GitWorkingCopy $repository, $branches) { foreach ($branches as $branch) { $this->assertRemoteBranch($repository, $branch); } }