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 MqcihRequestModelTest22 { MqcihRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetFacilityLike01() { testModel.setFacilityLike(expectGetStr); assertEquals(expectGetStr, testModel.getFacilityLike()); } @Test void checkGetFacilityLike02() { testModel.setFacilityLike(null); assertEquals(expectEmptyStr, testModel.getFacilityLike()); } }