  function testSelectItem(i) {
          if (i >= items.length) {
            done();
            return;
          }

          MockInteractions.downAndUp(items[i], function() {
            assert.equal(selector.selected, 'value' + i);

            testSelectItem(i + 1);
          });
        }

        testSelectItem(i);
      });
    });
  </script>

</body>
</html>
