mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* 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
20 lines
398 B
Java
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:");
|
|
}
|
|
}
|