// 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.fluent.models.RecoverableServerProperties;

public final class RecoverableServerPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RecoverableServerProperties model =
            BinaryData
                .fromString(
                    "{\"lastAvailableBackupDateTime\":\"cr\",\"serviceLevelObjective\":\"zsqpjhvmdajvny\",\"edition\":\"unqecanoae\",\"vCore\":1901274446,\"hardwareGeneration\":\"yhltrpmopjmcm\",\"version\":\"u\"}")
                .toObject(RecoverableServerProperties.class);
    }

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