@Test
public void test_exception() throws Exception {
TestBindingStub stub = (TestBindingStub)port;
stub.setHeader("http://example.com/", "headers",
(new Headers("fake", "pass")));
try {
port.say_hello();
} catch (com.example.types.Error e) {
Assert.assertTrue(
e.toString().equals("Access denied for user fake"));