StringConverterToUpperCase implements StringConverter { @Override public String convert(String column) { return StringUtils.upperCase(column); }  @Override String convert(String column);  }
@Test public void testConvert01() throws Exception { StringConverter stringTransformer = new StringConverterToUpperCase(); String resultString = stringTransformer.convert(null); assertNull(resultString); }
@Test public void testConvert02() throws Exception { StringConverter stringTransformer = new StringConverterToUpperCase(); String resultString = stringTransformer .convert("abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ"); assertEquals("ABCDEFGHIJKLMNOPQRSTUVWXYZ_ABCDEFGHIJKLMNOPQRSTUVWXYZ", resultString); }
@Test public void testConvert03() throws Exception { StringConverter stringTransformer = new StringConverterToLowerCase(); String resultString = stringTransformer.convert("あいうカキク漢字"); assertEquals("あいうカキク漢字", resultString); }
@Test public void testConvert04() throws Exception { StringConverter stringTransformer = new StringConverterToLowerCase(); String resultString = stringTransformer.convert(""); assertEquals("", resultString); }