Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetAsObject (0.1 sec)

  1. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

    import java.sql.Timestamp;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class NumberConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObject() throws Exception {
            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.getAsObject("100"), is((Object) Long.valueOf("100")));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top