Package org.jclouds.sqs.xml

Examples of org.jclouds.sqs.xml.RegexQueueHandler


   public void test() {
      InputStream is = getClass().getResourceAsStream("/create_queue.xml");

      URI expected = expected();

      RegexQueueHandler handler = new RegexQueueHandler(new ReturnStringIf2xx());
      URI result = handler.apply(HttpResponse.builder().statusCode(200).payload(is).build());

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here


   public void test() {
      InputStream is = getClass().getResourceAsStream("/create_queue.xml");

      URI expected = expected();

      RegexQueueHandler handler = new RegexQueueHandler(new ReturnStringIf2xx());
      URI result = handler.apply(HttpResponse.builder().statusCode(200).payload(is).build());

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

   public void test() {
      InputStream is = getClass().getResourceAsStream("/create_queue.xml");

      URI expected = expected();

      RegexQueueHandler handler = new RegexQueueHandler(new ReturnStringIf2xx());
      URI result = handler.apply(HttpResponse.builder().statusCode(200).payload(is).build());

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

TOP

Related Classes of org.jclouds.sqs.xml.RegexQueueHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.