### Question:
SimpleValidation { @Benchmark @BenchmarkMode(Mode.Throughput) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Fork(value = 1) @Threads(50) @Warmup(iterations = 5) @Measurement(iterations = 5) public void testSimpleBeanValidation(ValidationState state, Blackhole blackHole) { BenchmarkSetup benchmarkSetup = new BenchmarkSetup(BenchmarkModelWrapper::new, state); Result result = state.rule.executeOn(benchmarkSetup.model); assertThat(result.value()).isEqualTo(benchmarkSetup.expectedResult); if (result.value()) { assertThat(getActualViolationCount(result)).isEqualTo(0); } else { assertThat(getActualViolationCount(result)).isEqualTo(1); } blackHole.consume(result); }  @Benchmark @BenchmarkMode(Mode.Throughput) @OutputTimeUnit(TimeUnit.MILLISECONDS) @Fork(value = 1) @Threads(50) @Warmup(iterations = 5) @Measurement(iterations = 5) void testSimpleBeanValidation(ValidationState state, Blackhole blackHole);  }### Answer:
@Test public void test() { SimpleValidation bench = new SimpleValidation(); bench.testSimpleBeanValidation( new SimpleValidation.ValidationState(), new Blackhole("Today's password is swordfish. " + "I understand instantiating Blackholes directly is dangerous.")); }