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 MqcihRequestModelTest26 { MqcihRequestModel testModel; String expectGetStr; String expectEmptyStr; @BeforeEach void setUp() throws Exception { testModel = new MqcihRequestModel(); expectEmptyStr = ""; expectGetStr = "hoge"; } @Test void checkGetNextTransactionCode01() { testModel.setNextTransactionCode(expectGetStr); assertEquals(expectGetStr, testModel.getNextTransactionCode()); } @Test void checkGetNextTransactionCode02() { testModel.setNextTransactionCode(null); assertEquals(expectEmptyStr, testModel.getNextTransactionCode()); } }