Commits

Anonymous committed dfec4d4

added test for getText(key) that is not in the bundle

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@885e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/test/com/opensymphony/xwork/TextProviderSupportTest.java

 
 package com.opensymphony.xwork;
 
-import com.opensymphony.xwork.util.OgnlValueStack;
-
 import java.util.*;
 
 /**
 
     public void testSimpleGetTexts() throws Exception {
         assertEquals("Hello World", tp.getText("hello"));
+        assertEquals("not.in.bundle", tp.getText("not.in.bundle"));
 
         assertEquals("Hello World", tp.getText("hello", "this is default"));
         assertEquals("this is default", tp.getText("not.in.bundle", "this is default"));