use of org.junit.Before in project camel by apache.
the class BatchGetItemsCommandTest method setUp.
@Before
public void setUp() {
ddbClient = new AmazonDDBClientMock();
configuration = new DdbConfiguration();
exchange = new DefaultExchange(new DefaultCamelContext());
command = new BatchGetItemsCommand(ddbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class DescribeTableCommandTest method setUp.
@Before
public void setUp() {
ddbClient = new AmazonDDBClientMock();
configuration = new DdbConfiguration();
configuration.setTableName("FULL_DESCRIBE_TABLE");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new DescribeTableCommand(ddbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class DdbStreamEndpointTest method setup.
@Before
public void setup() throws Exception {
SimpleRegistry registry = new SimpleRegistry();
registry.put("someSeqNumProv", sequenceNumberProvider);
registry.put("ddbStreamsClient", amazonDynamoDBStreams);
context = new DefaultCamelContext(registry);
}
use of org.junit.Before in project camel by apache.
the class GetItemCommandTest method setUp.
@Before
public void setUp() {
ddbClient = new AmazonDDBClientMock();
configuration = new DdbConfiguration();
configuration.setTableName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new GetItemCommand(ddbClient, configuration, exchange);
}
use of org.junit.Before in project camel by apache.
the class PutItemCommandTest method setUp.
@Before
public void setUp() {
ddbClient = new AmazonDDBClientMock();
configuration = new DdbConfiguration();
configuration.setTableName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new PutItemCommand(ddbClient, configuration, exchange);
}
Aggregations