    # File lib/fog/aws/requests/iam/get_user_policy.rb, line 35
            def get_user_policy(policy_name, user_name)
              raise Fog::AWS::IAM::NotFound.new("The user with name #{user} cannot be found.") unless self.data[:users].key?(user_name)
              raise Fog::AWS::IAM::NotFound.new("The policy with name #{policy_name} cannot be found.") unless self.data[:users][user_name][:policies].key?(policy_name)
              Excon::Response.new.tap do |response|
                response.body = { 'Policy' =>  {
                                    'PolicyName' => policy_name,
                                    'UserName' => user_name,
                                    'PolicyDocument' => data[:users][user_name][:policies][policy_name]
                                  },
                                  'IsTruncated' => false,
                                  'RequestId'   => Fog::AWS::Mock.request_id
                                }
                response.status = 200
              end
            end