Not so readable. Seems you could do this with a helper method in support. Like

stub_alps_request(:integer, :text, :array, etc)