UtilTest.java :  » Scripting » flywheel » com » panopset » test » Java Open Source

Java Open Source » Scripting » flywheel 
flywheel » com » panopset » test » UtilTest.java
package com.panopset.test;

import junit.framework.TestCase;

import com.panopset.Util;

/**
 * Test some of the Util functions.
 *
 * @author Karl Dinwiddie
 *
 */
public final class UtilTest extends TestCase {

    /**
     * Test invoke static String method.
     *
     * <b>com.panopset.Strings.capitalize(foo)</b>.
     *
     * @throws Exception
     *             Exception.
     */
    public void testInvokeStaticStringMethod() throws Exception {
        assertEquals(TestStrings.FOO_CAPITALIZED, Util.invokeStaticStringMethod(

        "com.panopset.Strings.capitalize(foo)"));
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.