def METHOD_NAME(self):
    base_manager = base.BaseApplication(
        self.REALM, self.HOST, self.HOST_ADDR,
    )
    s6a_manager = s6a_relay.S6AApplication(
        Mock(),
        self.REALM,
        self.HOST,
        self.HOST_ADDR,
    )
    base_manager.register(s6a_manager)
    self._server = server.S6aServer(
        base_manager,
        s6a_manager,
        self.REALM,
        self.HOST,
    )
    # Mock the writes to check responses
    self._writes = Mock()
    def convert_memview_to_bytes(memview):
        """ Deep copy the memoryview for checking later  """
        return self._writes(memview.tobytes())
    self._transport = MockTransport()
    self._transport.write = Mock(side_effect=convert_memview_to_bytes)
    # Here goes nothing..
    self._server.connection_made(self._transport)