package blanco.commons.util;

import java.io.File;

import javax.xml.transform.dom.DOMResult;

import junit.framework.TestCase;

import org.w3c.dom.Element;

public class BlancoXmlUtilTest extends TestCase {

    /*
     * 'blanco.commons.util.BlancoXmlUtil.getElement(Node, String)' のためのテスト・メソッド
     */
    public void testGetElement() {
        final DOMResult result = BlancoXmlUtil.transformFile2Dom(new File(
                "./meta/BlancoCalcParserDef.xml"));
        final Element element = BlancoXmlUtil.getElement(result.getNode(),
                "blanco/target/blancocalcparser/propertyblock/startstring");
    }

}
