use of com.dtflys.forest.exceptions.ForestNoFileNameException in project forest by dromara.
the class TestExceptions method testNoFileNameException.
@Test
public void testNoFileNameException() {
ForestNoFileNameException exception = new ForestNoFileNameException(byte[].class);
assertThat(exception.getMessage()).isEqualTo("[Forest] '[B' parameters width @DataFile annotation must define a fileName");
assertThat(exception.getParameterType()).isEqualTo(byte[].class);
}
Aggregations