    @Test(expected = WebServiceException.class)
    public void throwsExceptionDueToMissingTruststorePassword() throws InvalidObjectException {

        HelloWorldRequest request = new HelloWorldRequest();
        request.setHello("bob");

        WsEndpointConfiguration<HelloWorldEndpoint> config = getDefaultConfig();
        config.setTruststorePassword("");

        WsHelloWorldService service = new WsHelloWorldService(config, isCxfBeanFactory());
        service.sayHello(request);
    }