new TestDataStore(new XmlDataReader(), CHARSET, url, url, null);
}
@Test
public void construct_successful() throws Exception {
final DataReader reader = new XmlDataReader();
final TestDataStore store = new TestDataStore(reader, CHARSET, DATA_URL, VERSION_URL, FALLBACK);
assertThat(store.getData().getVersion()).isEqualTo(FALLBACK.getData().getVersion());
store.getUpdateOperation().call();
assertThat(store.getData().getVersion()).isEqualTo(UrlUtil.read(VERSION_URL, CHARSET));
assertThat(store.getDataReader()).isEqualTo(reader);