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

@IsTest
public class QBQueryResponseCountJSON_Test {
	
	// This test method should give 100% coverage
	static testMethod void testParse() {
		String json = '{'+
		'    \"QueryResponse\": {'+
		'        \"totalCount\": 1453'+
		'    },'+
		'    \"time\": \"2023-04-20T08:08:17.619-07:00\"'+
		'}';
		QBQueryResponseCountJSON r = QBQueryResponseCountJSON.parse(json);
		System.assert(r != null);

		json = '{\"TestAMissingObject\": { \"TestAMissingArray\": [ { \"TestAMissingProperty\": \"Some Value\" } ] } }';
		QBQueryResponseCountJSON.QueryResponse objQueryResponse = new QBQueryResponseCountJSON.QueryResponse(System.JSON.createParser(json));
		System.assert(objQueryResponse != null);
		System.assert(objQueryResponse.totalCount == null);

		json = '{\"TestAMissingObject\": { \"TestAMissingArray\": [ { \"TestAMissingProperty\": \"Some Value\" } ] } }';
		QBQueryResponseCountJSON objQBQueryResponseCountJSON = new QBQueryResponseCountJSON(System.JSON.createParser(json));
		System.assert(objQBQueryResponseCountJSON != null);
		System.assert(objQBQueryResponseCountJSON.QueryResponse == null);
		System.assert(objQBQueryResponseCountJSON.time_Z == null);
	}
}