public static BuildInfo getBuildInfo() {
        if (Overrides.isEnabled()) {
            // never use cache when override is enabled -> we need to re-parse everything
            Overrides overrides = Overrides.fromProperties();
            return getBuildInfoInternalVersion(overrides);
        }

        return BUILD_INFO_CACHE;
    }
@Test
    public void testEdition_whenNotOverridden() {
        BuildInfo buildInfo = BuildInfoProvider.getBuildInfo();
        assertFalse(buildInfo.isEnterprise());
    }