public static void throwException(final Exception e) {
        throw new ResourceNotFoundException("the validation ExistProviderMethod invoked error", e);
    }
@Test
    public void throwExceptionTest() {
        Assertions.assertThrows(ResourceNotFoundException.class, () -> Assert.throwException(mock(ShenyuException.class)));
    }