diff --git a/src/test/java/dev/openfeature/sdk/HookSpecTest.java b/src/test/java/dev/openfeature/sdk/HookSpecTest.java index 45855781..7ab01c0a 100644 --- a/src/test/java/dev/openfeature/sdk/HookSpecTest.java +++ b/src/test/java/dev/openfeature/sdk/HookSpecTest.java @@ -655,16 +655,6 @@ private Client getClient(FeatureProvider provider) { return api.getClient(); } - private Client getClient(String domain, FeatureProvider provider) { - OpenFeatureAPI api = OpenFeatureAPI.getInstance(); - if (provider == null) { - FeatureProviderTestUtils.setFeatureProvider(domain, TestEventsProvider.newInitializedTestEventsProvider()); - } else { - FeatureProviderTestUtils.setFeatureProvider(domain, provider); - } - return api.getClient(domain); - } - @Specification(number = "4.3.1", text = "Hooks MUST specify at least one stage.") @Test void default_methods_so_impossible() {