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

package com.azure.resourcemanager.storagecache.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.storagecache.models.PrimingJobIdParameter;
import org.junit.jupiter.api.Assertions;

public final class PrimingJobIdParameterTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PrimingJobIdParameter model =
            BinaryData.fromString("{\"primingJobId\":\"dblx\"}").toObject(PrimingJobIdParameter.class);
        Assertions.assertEquals("dblx", model.primingJobId());
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        PrimingJobIdParameter model = new PrimingJobIdParameter().withPrimingJobId("dblx");
        model = BinaryData.fromObject(model).toObject(PrimingJobIdParameter.class);
        Assertions.assertEquals("dblx", model.primingJobId());
    }
}
