@Override
    public OpensearchDistribution get() {
        return distribution.get();
    }
@Test
    void testDetection() {
        final OpensearchDistribution x64 = provider(tempDir, OpensearchArchitecture.x64).get();
        Assertions.assertThat(x64.version()).isEqualTo("2.5.0");
        Assertions.assertThat(x64.platform()).isEqualTo("linux");
        Assertions.assertThat(x64.architecture()).isEqualTo(OpensearchArchitecture.x64);

        final OpensearchDistribution mac = provider(tempDir, OpensearchArchitecture.x64).get();
        Assertions.assertThat(mac.version()).isEqualTo("2.5.0");
        Assertions.assertThat(mac.platform()).isEqualTo("linux");
        Assertions.assertThat(mac.architecture()).isEqualTo(OpensearchArchitecture.x64);

        final OpensearchDistribution aarch64 = provider(tempDir, OpensearchArchitecture.aarch64).get();
        Assertions.assertThat(aarch64.version()).isEqualTo("2.5.0");
        Assertions.assertThat(aarch64.platform()).isEqualTo("linux");
        Assertions.assertThat(aarch64.architecture()).isEqualTo(OpensearchArchitecture.aarch64);
    }