def METHOD_NAME(self, mock_func):
    self.gateway.add_device(self.DEVICE_NAME,
                            {'connector': self.gateway.available_connectors['MQTT Broker Connector']}, self.DEVICE_TYPE)
    mock_func.assert_called_with(self.DEVICE_NAME, self.DEVICE_TYPE)