01: package liquibase.exception;
02:
03: import liquibase.exception.DuplicateStatementIdentifierException;
04: import static org.junit.Assert.*;
05: import org.junit.Test;
06:
07: /**
08: * Tests for {@link DuplicateStatementIdentifierException}
09: */
10: @SuppressWarnings({"ThrowableInstanceNeverThrown"})
11: public class DuplicateStatementIdentifierExceptionTest {
12:
13: @Test
14: public void duplicateStatementIdentifierException()
15: throws Exception {
16: DuplicateStatementIdentifierException ex = new DuplicateStatementIdentifierException(
17: "Message Here");
18: assertEquals("Message Here", ex.getMessage());
19: }
20: }
|