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 MqcihRequestModelTest12 { MqcihRequestModel testModel; String expectGetStr; String expectZeroStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectZeroStr = "0"; expectGetStr = "hoge"; } @Test void checkGetFacilityKeepTime01() { testModel.setFacilityKeepTime(expectGetStr); assertEquals(expectGetStr, testModel.getFacilityKeepTime()); } @Test void checkGetFacilityKeepTime02() { testModel.setFacilityKeepTime(null); assertEquals(expectZeroStr, testModel.getFacilityKeepTime()); } }