void () { BuildNumber b = BuildNumber.fromString("__BUILD_NUMBER__"); assertTrue(b.asString(), b.getBaselineVersion() >= 145 && b.getBaselineVersion() <= 3000); assertTrue(b.isSnapshot()); assertEquals(BuildNumber.fromString("__BUILD_NUMBER__"), BuildNumber.fromString("SNAPSHOT")); }