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");