    @Test
    public final void verifyAssertCurrentStageExistsThrowsException() {

        // given
        final GetSecretValueRequest request = new GetSecretValueRequest();
        request.setSecretId("secret");
        request.setVersionStage("AWSCURRENT");
        given(delegate.getSecretValue(eq(request))).willThrow(new ResourceNotFoundException("not found"));

        // when / then (exception thrown)
        assertThrows(ResourceNotFoundException.class, () -> manager.assertCurrentStageExists("secret"));
    }