You are here

public static function TransactionNameEnhancerTest::transactionNameCallback in New Relic 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/RouteEnhancer/TransactionNameEnhancerTest.php \Drupal\Tests\new_relic_rpm\Unit\RouteEnhancer\TransactionNameEnhancerTest::transactionNameCallback()
  2. 2.0.x tests/src/Unit/RouteEnhancer/TransactionNameEnhancerTest.php \Drupal\Tests\new_relic_rpm\Unit\RouteEnhancer\TransactionNameEnhancerTest::transactionNameCallback()

Test callback for _translation_name_callback with known response.

Return value

string 'foo_resolved'

File

tests/src/Unit/RouteEnhancer/TransactionNameEnhancerTest.php, line 26

Class

TransactionNameEnhancerTest
@coversDefaultClass \Drupal\new_relic_rpm\RouteEnhancer\TransactionNameEnhancer @group new_relic_rpm

Namespace

Drupal\Tests\new_relic_rpm\Unit\RouteEnhancer

Code

public static function transactionNameCallback() {
  return 'foo_resolved';
}