#919 - io.ebean package initial

This commit is contained in:
Rob Bygrave
2016-12-11 23:23:22 +13:00
parent 5821dc96b9
commit 971e2dc91b
2134 changed files with 10721 additions and 8652 deletions
@@ -0,0 +1,20 @@
package org.tests.lib;
import io.ebeaninternal.server.core.Message;
import org.junit.Assert;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class TestMessage {
@Test
public void testMessage() {
String one = "one";
String two = "two";
String m = Message.msg("fetch.error", one, two);
assertThat(m).contains("Query threw SQLException:one Query was:");
}
}