Files
ebean/src/test/java/org/tests/lib/TestMessage.java
T
Roland PramlandRob Bygrave a315c7c11e More small fixes (#977)
* no effecitve code change: add @FunctionalInterface to designated interfaces

* no effective code change: removed obsolete imports

* no effective code change: removed obsolete @SuppressWarnings

* no effective code change: add @SuppressWarnings to UUID_PLACEHOLDER
2017-02-24 08:42:27 +13:00

20 lines
398 B
Java

package org.tests.lib;
import io.ebeaninternal.server.core.Message;
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:");
}
}