def METHOD_NAME(self):
    """Test a provider class injection."""
    provider = ClassProvider(MockInstance, self.test_value, init_method="open")
    self.test_instance.bind_provider(MockInstance, provider)
    assert self.test_instance.get_provider(MockInstance) is provider
    instance = self.test_instance.inject(MockInstance)
    assert isinstance(instance, MockInstance)
    assert instance.value is self.test_value
    assert instance.opened