@Override
    public void destroy() {
        if (this.snsClient != null) {
            try {
                this.snsClient.shutdown();
            } catch (Exception e) {
                log.error("Failed to shutdown SNS client during destroy()", e);
            }
        }
    }
@Test
    void givenSnsClientIsNotNull_whenDestroy_thenShutdown() {
        node.destroy();
        then(snsClientMock).should().shutdown();
    }