package com.pgf.mqspring.model; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class MqcihRequestModelTest20 { MqcihRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetReplyToFormat01() { testModel.setReplyToFormat(expectGetStr); assertEquals(expectGetStr, testModel.getReplyToFormat()); } @Test void checkGetReplyToFormat02() { testModel.setReplyToFormat(null); assertEquals(expectEmptyStr, testModel.getReplyToFormat()); } }