@Override
  public String getProviderName() {
    return findManagedInstanceService()
      .map(ManagedInstanceService::getProviderName)
      .orElseThrow(() -> NOT_MANAGED_INSTANCE_EXCEPTION);
  }
@Test
  public void getProviderName_whenManaged_shouldReturnName() {
    DelegatingManagedServices managedInstanceService = new DelegatingManagedServices(Set.of(new AlwaysManagedInstanceService()));

    assertThat(managedInstanceService.getProviderName()).isEqualTo("Always");
  }