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 ReceiveMapVectorRequestModelTest04 { ReceiveMapVectorRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new ReceiveMapVectorRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetRmMap01() { testModel.setRmMap(expectGetStr); assertEquals(expectGetStr, testModel.getRmMap()); } @Test void checkGetRmMap02() { testModel.setRmMap(null); assertEquals(expectEmptyStr, testModel.getRmMap()); } }