DATACOUCH-47 - ensure multiple buckets are working over xml config.

This test verifies the functionality as reported in the ticket.
This commit is contained in:
Michael Nitschinger
2014-01-24 12:40:39 +01:00
parent 11ed095c58
commit 9c3cc52d2e
2 changed files with 34 additions and 0 deletions

View File

@@ -60,4 +60,15 @@ public class CouchbaseTemplateParserIntegrationTests {
factory.getBean("couchbaseTemplate");
}
/**
* Test case for DATACOUCH-47.
*/
@Test
public void allowsMultipleBuckets() {
reader.loadBeanDefinitions(new ClassPathResource("namespace/couchbase-multi-bucket-bean.xml"));
factory.getBean("cb-template-first");
factory.getBean("cb-template-second");
}
}