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