public class GetDeploymentTest extends BaseHandlerTest {
public void test() {
InputStream is = getClass().getResourceAsStream("/deployment.xml");
Deployment expected = expected();
DeploymentHandler handler = injector.getInstance(DeploymentHandler.class);
Deployment result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}