@Test
public void isOlderThanTest() {

    VersionComparator vc = new VersionComparator("2.1.0");
    Assert.assertFalse(vc.isOlderThan(new VersionComparator("2.1.0")));
    Assert.assertTrue(vc.isOlderThan(new VersionComparator("2.2.0")));
    Assert.assertTrue(vc.isOlderThan(new VersionComparator("3.0.0")));
    Assert.assertFalse(vc.isOlderThan(new VersionComparator("2.0.0")));
    Assert.assertFalse(vc.isOlderThan(new VersionComparator("1.9.0")));
}