public void testLatestWithDefault() throws Exception {
ChainResolver chain = new ChainResolver();
chain.setName("chain");
chain.setSettings(settings);
chain.setLatestStrategy(new LatestRevisionStrategy());
MockResolver[] resolvers = new MockResolver[] {
MockResolver.buildMockResolver(settings, "1", true, ModuleRevisionId.newInstance(
"org", "mod", "1"), new GregorianCalendar(2005, 1, 20).getTime()),
MockResolver.buildMockResolver(settings, "2", true, ModuleRevisionId.newInstance(
"org", "mod", "4"), new GregorianCalendar(2005, 1, 22).getTime(), true), // latest