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 ReceiveMapVectorRequestModelTest03 { ReceiveMapVectorRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new ReceiveMapVectorRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetRmMapset01() { testModel.setRmMapset(expectGetStr); assertEquals(expectGetStr, testModel.getRmMapset()); } @Test void checkGetRmMapset02() { testModel.setRmMapset(null); assertEquals(expectEmptyStr, testModel.getRmMapset()); } }