Examples of sdbClient()


Examples of com.netflix.simianarmy.client.aws.AWSClient.sdbClient()

public class TestSimpleDBRecorder extends SimpleDBRecorder {

    private static AWSClient makeMockAWSClient() {
        AmazonSimpleDB sdbMock = mock(AmazonSimpleDB.class);
        AWSClient awsClient = mock(AWSClient.class);
        when(awsClient.sdbClient()).thenReturn(sdbMock);
        when(awsClient.region()).thenReturn("region");
        return awsClient;
    }

    public TestSimpleDBRecorder() {
View Full Code Here

Examples of com.netflix.simianarmy.client.aws.AWSClient.sdbClient()

public class TestSimpleDBJanitorResourceTracker extends SimpleDBJanitorResourceTracker {

    private static AWSClient makeMockAWSClient() {
        AmazonSimpleDB sdbMock = mock(AmazonSimpleDB.class);
        AWSClient awsClient = mock(AWSClient.class);
        when(awsClient.sdbClient()).thenReturn(sdbMock);
        return awsClient;
    }

    public TestSimpleDBJanitorResourceTracker() {
        super(makeMockAWSClient(), "DOMAIN");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.