@Test
public void testSingleAltAddress() throws Exception {
LoadDistributorFeature feature = new LoadDistributorFeature();
List<String> alternateAddresses = new ArrayList<String>();
alternateAddresses.add(Server.ADDRESS2);
SequentialStrategy strategy = new SequentialStrategy();
strategy.setAlternateAddresses(alternateAddresses);
feature.setStrategy(strategy);
BookStore bookStore = getBookStore(Server.ADDRESS1, feature);
Book book = bookStore.getBook("123");
assertEquals("unexpected id", 123L, book.getId());