protected function setUp(): void
{ parent::
setUp();
$this->proxyBuilder =
new ProxyBuilder();
} /**
* @covers ::buildProxyClassName
*/
public function testBuildProxyClassName() { $class_name =
$this->proxyBuilder->
buildProxyClassName('Drupal\Tests\Component\ProxyBuilder\TestServiceNoMethod'
);
$this->
assertEquals('Drupal\Tests\ProxyClass\Component\ProxyBuilder\TestServiceNoMethod',
$class_name);
} /**
* @covers ::buildProxyClassName
*/
public function testBuildProxyClassNameForModule() { $class_name =
$this->proxyBuilder->
buildProxyClassName('Drupal\views_ui\ParamConverter\ViewUIConverter'
);
$this->
assertEquals('Drupal\views_ui\ProxyClass\ParamConverter\ViewUIConverter',
$class_name);
}