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 MqcihRequestModelTest19 { MqcihRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetAutherticator01() { testModel.setAutherticator(expectGetStr); assertEquals(expectGetStr, testModel.getAutherticator()); } @Test void checkGetAutherticator02() { testModel.setAutherticator(null); assertEquals(expectEmptyStr, testModel.getAutherticator()); } }