public static String[] getStackFrames(final Throwable throwable) {
        if (throwable == null) {
            return new String[0];
        }
        return getStackFrames(getStackTrace(throwable));
    }
@Test
    void testGetStackFrames() {
        String[] stackFrames = ExceptionUtils.getStackFrames(exception);
        Assertions.assertNotEquals(0, stackFrames.length);
    }