function ProxyBuilderTest::testBuildProxyClassName

@legacy-covers ::buildProxyClassName

File

core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php, line 38

Class

ProxyBuilderTest
Tests Drupal\Component\ProxyBuilder\ProxyBuilder.

Namespace

Drupal\Tests\Component\ProxyBuilder

Code

public function testBuildProxyClassName() : void {
  $class_name = $this->proxyBuilder
    ->buildProxyClassName('Drupal\\Tests\\Component\\ProxyBuilder\\TestServiceNoMethod');
  $this->assertEquals('Drupal\\Tests\\ProxyClass\\Component\\ProxyBuilder\\TestServiceNoMethod', $class_name);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.