public void test() {
InputStream is = getClass().getResourceAsStream("/get_passworddata.xml");
PasswordData expected = expected();
GetPasswordDataResponseHandler handler = injector.getInstance(GetPasswordDataResponseHandler.class);
PasswordData result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}