package com.its.app;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.its.pis.PisCommServerApplication;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@Slf4j
@SpringBootTest(classes = PisCommServerApplication.class)
public class PisCommServerApplicationTests {

    private ObjectMapper mapper;
    @Test
    void test1() {
        // Class to Json String
        this.mapper = new ObjectMapper();
        //String message = this.mapper.writeValueAsString(bisMessage);

        // Json String to Class
        //CpuNodeStatusDTO status = this.mapper.readValue(message, CpuNodeStatusDTO.class);
    }

}
