use of com.dtflys.forest.exceptions.ForestUnsupportException in project forest by dromara.
the class TestExceptions method testUnsupportedException.
@Test
public void testUnsupportedException() {
ForestUnsupportException exception = new ForestUnsupportException("Xxx");
assertThat(exception.getMessage()).isEqualTo("[Forest] 'Xxx' is unsupported");
assertThat(exception.getUnsupported()).isEqualTo("Xxx");
}
Aggregations