'When a close is received and an ISession adapter is present, it should
be notified of the close message.'

def test_closed(self):

    self.session.session = session.ISession(self.session.avatar)
    self.session.closed()
    self.assertTrue(self.session.session.gotClosed)
