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 MqcihRequestModelTest08 { MqcihRequestModel testModel; String expectGetStr; String expectZeroStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectZeroStr = "0"; expectGetStr = "hoge"; } @Test void checkGetUowControl01() { testModel.setUowControl(expectGetStr); assertEquals(expectGetStr, testModel.getUowControl()); } @Test void checkGetUowControl02() { testModel.setUowControl(null); assertEquals(expectZeroStr, testModel.getUowControl()); } }