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 MqcihRequestModelTest16 { MqcihRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetFacility01() { testModel.setFacility(expectGetStr); assertEquals(expectGetStr, testModel.getFacility()); } @Test void checkGetFacility02() { testModel.setFacility(null); assertEquals(expectEmptyStr, testModel.getFacility()); } }