use of org.junit.Before in project camel by apache.
the class BatchPutAttributesCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new BatchPutAttributesCommand(sdbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class DeleteDomainCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new DeleteDomainCommand(sdbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class DomainMetadataCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new DomainMetadataCommand(sdbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class ListDomainsCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
configuration.setMaxNumberOfDomains(new Integer(5));
exchange = new DefaultExchange(new DefaultCamelContext());
command = new ListDomainsCommand(sdbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class PutAttributesCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new PutAttributesCommand(sdbClient, configuration, exchange);
}
Aggregations