1   /*
2    * ObjectToStringConverterTest.java
3    *
4    * Created on 7 Июль 2006 г., 21:19
5    */
6   
7   package org.weda.converter;
8   
9   import junit.framework.TestCase;
10  import org.weda.converter.impl.ObjectToStringConverter;
11  
12  /**
13   *
14   * @author Mikhail Titov
15   */
16  public class ObjectToStringConverterTest extends TestCase{
17      
18      public ObjectToStringConverterTest(String name) {
19          super(name);
20      }
21      
22      public void test() throws Exception{
23          ValueTypeConverter conv = new ObjectToStringConverter();
24      }
25      
26      public void check(ValueTypeConverter converter) throws Exception {
27          TestObject obj = new TestObject("test-value");
28          assertEquals("test-value", converter.convert(String.class, obj, null));
29      }
30      
31  }