mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
22 lines
464 B
Java
22 lines
464 B
Java
package io.ebeaninternal.xmlmapping.model;
|
|
|
|
import io.ebeaninternal.xmlmapping.XmlMappingReader;
|
|
import org.junit.Test;
|
|
|
|
import java.io.InputStream;
|
|
|
|
import static org.junit.Assert.assertNotNull;
|
|
|
|
public class XmlMappingReaderTest {
|
|
|
|
@Test
|
|
public void read() throws Exception {
|
|
|
|
InputStream is = XmlMappingReaderTest.class.getResourceAsStream("/test-ebean.xml");
|
|
XmEbean testMapping = XmlMappingReader.read(is);
|
|
|
|
assertNotNull(testMapping);
|
|
}
|
|
|
|
}
|