@Test
public void testValidPackageNames() {

    PackageValidator.validate("foo");
    PackageValidator.validate("foo.bar");
    PackageValidator.validate("foo.bar.baz");
    PackageValidator.validate("ab.c.d");
    PackageValidator.validate("a1.b2.c3");
}