@Test
    public void testVersionOfJar()
    {
        Date now = new Date();
        Version v = Version.ofJar(org.slf4j.Logger.class);
        
        Assert.assertEquals("1.6.1", v.getVersion());
        Assert.assertEquals("slf4j-api", v.getTitle());
        Assert.assertTrue(v.getModifiedDate().before(now));
        
        // slf4j-api 1.6.1 was built in July 2010
        Calendar expected = Calendar.getInstance();
        expected.set(Calendar.YEAR, 2010);
        expected.set(Calendar.MONTH, 6);
        expected.set(Calendar.DATE, 1);
        
        Calendar mod = Calendar.getInstance();
        mod.setTime(v.getModifiedDate());
        Assert.assertTrue(mod.after(expected));
    }