You are here

public function ProxyBuilderTest::testBuildProxyClassNameForModule in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\ProxyBuilderTest::testBuildProxyClassNameForModule()

@covers ::buildProxyClassName

File

core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php, line 46
Contains \Drupal\Tests\Component\ProxyBuilder\ProxyBuilderTest.

Class

ProxyBuilderTest
@coversDefaultClass \Drupal\Component\ProxyBuilder\ProxyBuilder @group proxy_builder

Namespace

Drupal\Tests\Component\ProxyBuilder

Code

public function testBuildProxyClassNameForModule() {
  $class_name = $this->proxyBuilder
    ->buildProxyClassName('Drupal\\views_ui\\ParamConverter\\ViewUIConverter');
  $this
    ->assertEquals('Drupal\\views_ui\\ProxyClass\\ParamConverter\\ViewUIConverter', $class_name);
}