    # File lib/fog/aws/requests/elb/apply_security_groups_to_load_balancer.rb, line 36
            def apply_security_groups_to_load_balancer(security_group_ids, lb_name)
              raise Fog::AWS::ELB::NotFound unless load_balancer = self.data[:load_balancers][lb_name]

              response = Excon::Response.new
              response.status = 200

              load_balancer['SecurityGroups'] << security_group_ids
              load_balancer['SecurityGroups'].flatten!.uniq!

              response.body = {
                'ResponseMetadata' => {
                  'RequestId' => Fog::AWS::Mock.request_id
                },
                'DetachLoadBalancerFromSubnetsResult' => {
                  'SecurityGroups' => load_balancer['SecurityGroups']
                }
              }

              response
            end