module GdsApi::TestHelpers::LicenceApplication
def stub_licence_does_not_exist(identifier)
def stub_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