def METHOD_NAME(self):
    self.sock.buffer_writes = True
    self.sock.send(bytearray(b'jkl'))
    self.sock.close()
    self.raw_sock.sendall.assert_called_once_with(bytearray(b'jkl'))
    self.raw_sock.close.assert_called_once_with()