use of com.newrelic.agent.bridge.TransactionNamePriority in project newrelic-java-agent by newrelic.
the class PriorityTransactionNameTest method createTransactionName.
@Test
public void createTransactionName() {
String expectedName = "MyTransactionName";
TransactionNamePriority expectedPriority = TransactionNamePriority.FILTER_NAME;
PriorityTransactionName txName = PriorityTransactionName.create(expectedName, null, expectedPriority);
Assert.assertEquals(expectedPriority, txName.getPriority());
Assert.assertEquals(expectedName, txName.getName());
}
Aggregations