//
// Generated by JSON2Apex http://json2apex.herokuapp.com/
//

@IsTest
public class QBAccountQueryResponseJSON_Test {
  static testMethod void testParse() {
    String json =
      '{' +
      '    \"QueryResponse\": {' +
      '        \"Account\": [' +
      '            {' +
      '                \"Name\": \"Billable Expense Income\",' +
      '                \"SubAccount\": false,' +
      '                \"FullyQualifiedName\": \"Billable Expense Income\",' +
      '                \"Active\": true,' +
      '                \"Classification\": \"Revenue\",' +
      '                \"AccountType\": \"Income\",' +
      '                \"AccountSubType\": \"ServiceFeeIncome\",' +
      '                \"CurrentBalance\": 0,' +
      '                \"CurrentBalanceWithSubAccounts\": 0,' +
      '                \"CurrencyRef\": {' +
      '                    \"value\": \"USD\",' +
      '                    \"name\": \"United States Dollar\"' +
      '                },' +
      '                \"domain\": \"QBO\",' +
      '                \"sparse\": false,' +
      '                \"Id\": \"85\",' +
      '                \"SyncToken\": \"0\",' +
      '                \"MetaData\": {' +
      '                    \"CreateTime\": \"2023-08-16T14:54:12-07:00\",' +
      '                    \"LastUpdatedTime\": \"2023-08-16T14:54:12-07:00\"' +
      '                }' +
      '            }' +
      '        ],' +
      '        \"startPosition\": 1,' +
      '        \"maxResults\": 1' +
      '    }' +
      '}';
    QBAccountQueryResponseJSON obj = QBAccountQueryResponseJSON.parse(json);
    System.assert(obj != null);
  }
}
