initial add of EbeanORM server based on v2.8.1

This commit is contained in:
rbygrave
2012-09-14 00:40:39 +12:00
parent 2b74d0f9d9
commit 96ce4c0ddf
1188 changed files with 135034 additions and 0 deletions
@@ -0,0 +1,21 @@
package com.avaje.tests.lib;
import junit.framework.TestCase;
import org.junit.Assert;
import com.avaje.ebeaninternal.server.core.Message;
public class TestMessage extends TestCase {
public void testMessage(){
String one = "one";
String two = "two";
String m = Message.msg("fetch.error", one, two);
boolean b = m.startsWith("Query threw SQLException:one Query was:");
Assert.assertTrue(b);
}
}