{
Wagon wagon = new FileWagon();
Resource resource = new Resource();
resource.setContentLength( 100000 );
Repository repository = new Repository();
wagon.connect( repository );
}
protected long getExpectedLastModifiedOnGet( Repository repository, Resource resource )
{
return new File( repository.getBasedir(), resource.getName() ).lastModified();