private function getAccountsHtml(&$accounts) {
    $html = '<h3>Accounts Collection</h3>' .
            $this->getCollectionInfoHtml($accounts);

    $items = $accounts->getItems();

    if (count($items) == 0) {
      $html .= '<p>No Accounts Found</p>';

    } else {
      foreach($items as &$account) {
        $html .= <<<HTML
<hr>
<pre>
Account ID   = {$account->getId()}
Kind         = {$account->getKind()}
Self Link    = {$account->getSelfLink()}
Account Name = {$account->getName()}
Created      = {$account->getCreated()}
Updated      = {$account->getUpdated()}
</pre>
HTML;
      }
    }
    return $html;
  }