public class GetRoleResponseTest extends BaseHandlerTest {
public void test() {
InputStream is = getClass().getResourceAsStream("/get_role.xml");
Role expected = expected();
RoleHandler handler = injector.getInstance(RoleHandler.class);
Role result = factory.create(handler).parse(is);
assertEquals(result, expected);
assertEquals(result.getPath(), expected.getPath());
assertEquals(result.getName(), expected.getName());
assertEquals(result.getCreateDate(), expected.getCreateDate());
assertEquals(result.getAssumeRolePolicy(), expected.getAssumeRolePolicy());
}