### Question:
TrivialClassCreationBenchmark { @Benchmark public Class<?> baseline() { return Object.class; }  @Benchmark Class<?> baseline(); @Benchmark Class<?> benchmarkByteBuddy(); @Benchmark Class<?> benchmarkCglib(); @Benchmark Class<?> benchmarkJavassist(); @Benchmark @SuppressWarnings("deprecation") Class<?> benchmarkJdkProxy(); static final Class<?> BASE_CLASS; }### Answer:
@Test public void testBaseline() throws Exception { Class<?> type = trivialClassCreationBenchmark.baseline(); assertThat(type, CoreMatchers.<Class<?>>is(TrivialClassCreationBenchmark.BASE_CLASS)); }