use of com.newrelic.agent.instrumentation.classmatchers.NotMatcher in project newrelic-java-agent by newrelic.
the class InstrumentationConstructorTest method notClassMatcher.
@Test
public void notClassMatcher() throws Exception {
NotMatcher classMatcher = load("!not_class_matcher [ !exact_class_matcher 'java/lang/Object' ]");
Assert.assertEquals(new NotMatcher(new ExactClassMatcher("java/lang/Object")), classMatcher);
}
Aggregations