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

package com.azure.resourcemanager.billing.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.billing.models.BillingRoleAssignmentListResult;

public final class BillingRoleAssignmentListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        BillingRoleAssignmentListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"createdOn\":\"gikyzirtx\",\"createdByPrincipalTenantId\":\"uxzejntpsew\",\"createdByPrincipalId\":\"oi\",\"createdByUserEmailAddress\":\"ukry\",\"principalId\":\"tqmieox\",\"principalTenantId\":\"ggufhyaomtb\",\"roleDefinitionId\":\"havgrvk\",\"scope\":\"ovjzhpjbibgjmfx\",\"userAuthenticationType\":\"vfcluyovwxnbkfe\",\"userEmailAddress\":\"xscyhwzdgirujbz\"},\"id\":\"omvzzbtd\",\"name\":\"qvpn\",\"type\":\"yujviylwdshfssn\"},{\"properties\":{\"createdOn\":\"ye\",\"createdByPrincipalTenantId\":\"ymsgaojfmwnc\",\"createdByPrincipalId\":\"mrfhirctymox\",\"createdByUserEmailAddress\":\"tpipiwyczuhx\",\"principalId\":\"pqjlihhyusps\",\"principalTenantId\":\"sdvlmfwdgzxulucv\",\"roleDefinitionId\":\"mrsreuzvxurisjnh\",\"scope\":\"txifqj\",\"userAuthenticationType\":\"xmrhu\",\"userEmailAddress\":\"wp\"},\"id\":\"esutrgjupauutpw\",\"name\":\"qhih\",\"type\":\"jqgwzp\"},{\"properties\":{\"createdOn\":\"n\",\"createdByPrincipalTenantId\":\"ypsxjvfoim\",\"createdByPrincipalId\":\"slirciz\",\"createdByUserEmailAddress\":\"vydfceacvlhvygdy\",\"principalId\":\"umrtwnawjsl\",\"principalTenantId\":\"wkojgcyztsfmzn\",\"roleDefinitionId\":\"eqphchqnrnr\",\"scope\":\"ehuwrykqgaifmvik\",\"userAuthenticationType\":\"ydv\",\"userEmailAddress\":\"bejdznxcv\"},\"id\":\"srhnjivo\",\"name\":\"v\",\"type\":\"novqfzge\"},{\"properties\":{\"createdOn\":\"ftul\",\"createdByPrincipalTenantId\":\"tduceamt\",\"createdByPrincipalId\":\"zuo\",\"createdByUserEmailAddress\":\"jw\",\"principalId\":\"wqiok\",\"principalTenantId\":\"sx\",\"roleDefinitionId\":\"jmsvpkjp\",\"scope\":\"kwcf\",\"userAuthenticationType\":\"ljyxgtczhe\",\"userEmailAddress\":\"bsdshmkxmaehvbbx\"},\"id\":\"ripltf\",\"name\":\"htba\",\"type\":\"kgxywr\"}],\"nextLink\":\"pyklyhpluodpvru\"}")
                .toObject(BillingRoleAssignmentListResult.class);
    }

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