Package org.jclouds.rds.parse

Examples of org.jclouds.rds.parse.DescribeDBInstancesResponseTest


            .payload(payloadFromResourceWithContentType("/describe_instances.xml", "text/xml")).build();

      RDSApi apiWhenExist = requestSendsResponse(
            list, listResponse);

      assertEquals(apiWhenExist.getInstanceApi().list().get(0).toString(), new DescribeDBInstancesResponseTest().expected().toString());
   }
View Full Code Here


      RDSApi apiWhenExist = requestsSendResponses(
            list, listResponse, list2, list2Response);

      assertEquals(apiWhenExist.getInstanceApi().list().concat().toList(),
               ImmutableList.copyOf(Iterables.concat(new DescribeDBInstancesResponseTest().expected(),
                        new DescribeDBInstancesResponseTest().expected())));
   }
View Full Code Here

      RDSApi apiWhenWithOptionsExist = requestSendsResponse(listWithOptions,
               listWithOptionsResponse);

      assertEquals(apiWhenWithOptionsExist.getInstanceApi().list(afterMarker("MARKER")).toString(),
               new DescribeDBInstancesResponseTest().expected().toString());
   }
View Full Code Here

            .payload(payloadFromResourceWithContentType("/describe_instances.xml", "text/xml")).build();

      RDSApi apiWhenExist = requestSendsResponse(
            list, listResponse);

      assertEquals(apiWhenExist.getInstanceApi().list().get(0).toString(), new DescribeDBInstancesResponseTest().expected().toString());
   }
View Full Code Here

      RDSApi apiWhenExist = requestsSendResponses(
            list, listResponse, list2, list2Response);

      assertEquals(apiWhenExist.getInstanceApi().list().concat().toList(),
               ImmutableList.copyOf(Iterables.concat(new DescribeDBInstancesResponseTest().expected(),
                        new DescribeDBInstancesResponseTest().expected())));
   }
View Full Code Here

      RDSApi apiWhenWithOptionsExist = requestSendsResponse(listWithOptions,
               listWithOptionsResponse);

      assertEquals(apiWhenWithOptionsExist.getInstanceApi().list(afterMarker("MARKER")).toString(),
               new DescribeDBInstancesResponseTest().expected().toString());
   }
View Full Code Here

TOP

Related Classes of org.jclouds.rds.parse.DescribeDBInstancesResponseTest

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.