// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mariadb.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mariadb.models.QueryTextsResultList;

public final class QueryTextsResultListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        QueryTextsResultList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"queryId\":\"fsnkymuctq\",\"queryText\":\"fbebrjcxer\"},\"id\":\"uwutttxfvjrbi\",\"name\":\"phxepcyvahf\",\"type\":\"ljkyqxjvuuj\"},{\"properties\":{\"queryId\":\"dokgjl\",\"queryText\":\"oxgvclt\"},\"id\":\"gsncghkjeszz\",\"name\":\"bijhtxfvgxbf\",\"type\":\"mxnehmp\"},{\"properties\":{\"queryId\":\"xgodebfqkkrbmp\",\"queryText\":\"gr\"},\"id\":\"wflzlfbxzpuzy\",\"name\":\"ispnqzahmgkbrp\",\"type\":\"y\"},{\"properties\":{\"queryId\":\"bnuqqkpik\",\"queryText\":\"rgvtqag\"},\"id\":\"buynhijggm\",\"name\":\"bfs\",\"type\":\"arbu\"}],\"nextLink\":\"cvpnazzmhjrunmpx\"}")
                .toObject(QueryTextsResultList.class);
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        QueryTextsResultList model = new QueryTextsResultList();
        model = BinaryData.fromObject(model).toObject(QueryTextsResultList.class);
    }
}
