package org.codehaus.groovy.grails.orm.hibernate.cfg;

import junit.framework.TestCase;
import org.codehaus.groovy.grails.commons.GrailsDomainConfigurationUtil;

public class GrailsDomainConfigurationUtilTest extends TestCase {

	protected void setUp() throws Exception {
		super.setUp();
	}

	public void testGetMappingFileName() {
		assertEquals("org/codehaus/groovy/grails/orm/hibernate/HibernateMappedClass.hbm.xml",
					 GrailsDomainConfigurationUtil.getMappingFileName("org.codehaus.groovy.grails.orm.hibernate.HibernateMappedClass"));
	}

}
