'Make sure all vhosts are being properly found.
.. note:: If test fails, only finding 1 Vhost... it is likely that
it is a problem with is_enabled.  If finding only 3, likely is_ssl'

def test_get_virtual_hosts(self):

    vhs = self.config.get_virtual_hosts()
    self.assertEqual(len(vhs), 8)
    found = 0
    for vhost in vhs:
        for truth in self.vh_truth:
            if (vhost == truth):
                found += 1
                break
        else:
            raise Exception(('Missed:    %s' % vhost))
    self.assertEqual(found, 8)
    with mock.patch('certbot_apache.configurator.ApacheConfigurator.conf') as mock_conf:
        mock_conf.return_value = False
        vhs = self.config.get_virtual_hosts()
        self.assertEqual(len(vhs), 8)
