code: private DescribeInternetGatewaysResponseType describeInternetGateways() {
          DescribeInternetGatewaysResponseType ret = new DescribeInternetGatewaysResponseType();
          InternetGatewaySetType internetGatewaySet = new InternetGatewaySetType();
          for (Iterator<MockInternetGateway> mockInternetGateway = mockInternetGatewayController
                  .describeInternetGateways().iterator(); mockInternetGateway.hasNext();) {
              MockInternetGateway item = mockInternetGateway.next();
  
              InternetGatewayType internetGateway = new InternetGatewayType();
              if (!DEFAULT_MOCK_PLACEMENT.getAvailabilityZone().equals(currentRegion)) {
                  internetGateway.setInternetGatewayId(currentRegion + "_" + item.getInternetGatewayId());
               } else {
                  internetGateway.setInternetGatewayId(item.getInternetGatewayId());
               }
  
              InternetGatewayAttachmentSetType internetGatewayAttachmentSetType = new InternetGatewayAttachmentSetType();
              if (item.getAttachmentSet() != null && item.getAttachmentSet().size() > 0) {
                  for (MockInternetGatewayAttachmentType mockInternetGatewayAttachementType : item
                          .getAttachmentSet()) {
                      InternetGatewayAttachmentType internetGatewayAttachmentType = new InternetGatewayAttachmentType();
                      if (!DEFAULT_MOCK_PLACEMENT.getAvailabilityZone().equals(currentRegion)) {
                         internetGatewayAttachmentType
                              .setVpcId(currentRegion + "_" + mockInternetGatewayAttachementType.getVpcId());
                      } else {
                         internetGatewayAttachmentType
                              .setVpcId(mockInternetGatewayAttachementType.getVpcId());
                      }
                      internetGatewayAttachmentType
                              .setState(mockInternetGatewayAttachementType.getState());
                      internetGatewayAttachmentSetType.getItem().add(internetGatewayAttachmentType);
  
                  }
              }
              internetGateway.setAttachmentSet(internetGatewayAttachmentSetType);
  
              internetGatewaySet.getItem().add(internetGateway);
          }
  
          ret.setInternetGatewaySet(internetGatewaySet);
  
          return ret;
      }
docs: Handles "describeInternetGateways" request and returns response with a Internet gateway.
  
  @return a DescribeInternetGatewaysResponseType with Created InternetGateways.