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 MqcihRequestModelTest09 { MqcihRequestModel testModel; String expectGetStr; String expectZeroStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectZeroStr = "0"; expectGetStr = "hoge"; } @Test void checkGetWaitInterval01() { testModel.setGetWaitInterval(expectGetStr); assertEquals(expectGetStr, testModel.getGetWaitInterval()); } @Test void checkGetWaitInterval02() { testModel.setGetWaitInterval(null); assertEquals(expectZeroStr, testModel.getGetWaitInterval()); } }