public void testSuccess() throws Exception {
runner.forBenchmark(TestBenchmark.class)
.instrument("arbitrary")
.run();
Measurement measurement = Iterables.getOnlyElement(
Iterables.getOnlyElement(runner.trials()).measurements());
Measurement expected = new Measurement.Builder()
.description("fake measurment")
.weight(1)
.value(Value.create(1.0, "hz"))
.build();
assertEquals(expected, measurement);