module GdsApi::TestHelpers::LicenceApplication
def licence_does_not_exist(identifier)
def licence_does_not_exist(identifier) stub_request(:get, "#{LICENCE_APPLICATION_ENDPOINT}/api/licence/#{identifier}"). with(headers: GdsApi::JsonClient::DEFAULT_REQUEST_HEADERS). to_return(status: 404, body: "{\"error\": [\"Unrecognised Licence Id: #{identifier}\"]}") end