1 package com.thoughtworks.xstream.converters.collections; 2 3 import com.thoughtworks.acceptance.AbstractAcceptanceTest; 4 5 public class CharArrayConverterTest extends AbstractAcceptanceTest { 6 7 public void testMarshallsCharArrayAsSingleString() { 8 char[] input = new char[] {'h','e','l','l','o'}; 9 10 String expected = "<char-array>hello</char-array>"; 11 assertBothWays(input, expected); 12 } 13 } 14 | Popular Tags |