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 ReceiveMapVectorRequestModelTest02 { ReceiveMapVectorRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new ReceiveMapVectorRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetVectorVersion01() { testModel.setVectorVersion(expectGetStr); assertEquals(expectGetStr, testModel.getVectorVersion()); } @Test void checkGetVectorVersion02() { testModel.setVectorVersion(null); assertEquals(expectEmptyStr, testModel.getVectorVersion()); } }