TransactionTokenInfo { public boolean needKeep() { return tokenType.needKeep(); } TransactionTokenInfo(final String tokenName,
            final TransactionTokenType tokenType); String getTokenName(); TransactionTokenType getTransactionTokenType(); boolean needValidate(); boolean needCreate(); boolean needKeep(); @Override String toString();  }
@Test public void testNeedKeep01() { String tokenName = "aaa"; TransactionTokenType tokenType = TransactionTokenType.NONE; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, tokenType); boolean output = info.needKeep(); assertThat(output, is(false)); }
@Test public void testNeedKeep02() { String tokenName = "aaa"; TransactionTokenType tokenType = TransactionTokenType.BEGIN; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, tokenType); boolean output = info.needKeep(); assertThat(output, is(false)); }
@Test public void testNeedKeep03() { String tokenName = "aaa"; TransactionTokenType tokenType = TransactionTokenType.IN; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, tokenType); boolean output = info.needKeep(); assertThat(output, is(false)); }
@Test public void testNeedKeep04() { String tokenName = "aaa"; TransactionTokenType tokenType = TransactionTokenType.END; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, tokenType); boolean output = info.needKeep(); assertThat(output, is(false)); }
@Test public void testNeedKeep05() { String tokenName = "aaa"; TransactionTokenType tokenType = TransactionTokenType.CHECK; TransactionTokenInfo info = new TransactionTokenInfo(tokenName, tokenType); boolean output = info.needKeep(); assertThat(output, is(true)); }