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