'Test start when TLS is not wanted, but required by the server.'

def testNotWantedRequired(self):

    tls = domish.Element(('urn:ietf:params:xml:ns:xmpp-tls', 'starttls'))
    tls.addElement('required')
    self.xmlstream.features = {(tls.uri, tls.name): tls}
    self.init.wanted = False
    d = self.init.start()
    self.assertEqual([], self.output)
    self.assertFailure(d, xmlstream.TLSRequired)
    return d
