@Test
  public void testProbeInjectExplicitlyNamedProbeToField() {
    ProbeTest test = new ProbeTest();
    probesConfiguration.addConfig("explicitProbeInjectedToField", ProbesType.THROUGHPUT.getName());
    testContainer = createTestContainer(test);

    assertNotNull(test.fooProbe);
    assertTrue(testContainer.hasProbe("explicitProbeInjectedToField"));
  }
  @Test
  public void testProbeInjectSimpleProbeToField() throws Exception {
    ProbeTest test = new ProbeTest();
    probesConfiguration.addConfig("throughputProbe", ProbesType.THROUGHPUT.getName());
    testContainer = createTestContainer(test);

    assertNotNull(test.throughputProbe);
    assertTrue(testContainer.hasProbe("throughputProbe"));

    testContainer.invoke(TestPhase.RUN);
    Map<String, Result<?>> resultMap = testContainer.getProbeResults();
    assertNotNull(resultMap);
    assertTrue(resultMap.keySet().contains("throughputProbe"));
  }