KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thoughtworks > acceptance > EncodingTest


1 package com.thoughtworks.acceptance;
2
3 public class EncodingTest extends AbstractAcceptanceTest {
4
5     public void testCanDealWithUtfText() {
6         String JavaDoc input = "Jšrg";
7
8         String JavaDoc expected = "<string>Jšrg</string>";
9
10         assertBothWays(input, expected);
11
12     }
13 }
14
Popular Tags