def METHOD_NAME(self):
    """name and no record should not fail, returns the record"""
    name = "example.com"
    with self.assertRaises(AnsibleExitJson) as exc_info:
        set_module_args({
            "api_key": "abcd1324",
            "name": "example.com",
            "account_id": "1234"
        })
        self.module.main()
    result = exc_info.exception.args[0]
    # nothing should change
    self.assertFalse(result['changed'])
    # we should return at least one item with mathing domain
    assert result['dnsimple_records_info'][0]['name'] == name