// 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.Condition;

public final class ConditionTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        Condition model =
            BinaryData
                .fromString("{\"timestamp\":\"2021-05-07T02:19:01Z\",\"message\":\"lhbnxkna\"}")
                .toObject(Condition.class);
    }

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