@Test public void testSample() { String data = "test"; DummySampler instance = new DummySampler(); instance.getDummy().setResponseData(data); SampleResult result = instance.sample(null); Assert.assertEquals(data, result.getResponseDataAsString()); }
@Override public SampleResult sample(Entry e) { return dummy.sample(); }
DummySampler extends AbstractSampler implements Interruptible { @Override public SampleResult sample(Entry e) { return dummy.sample(); } }
DummySampler extends AbstractSampler implements Interruptible { @Override public SampleResult sample(Entry e) { return dummy.sample(); } DummySampler(); }
DummySampler extends AbstractSampler implements Interruptible { @Override public SampleResult sample(Entry e) { return dummy.sample(); } DummySampler(); boolean interrupt(); @Override SampleResult sample(Entry e); DummyElement getDummy(); }
DummySampler extends AbstractSampler implements Interruptible { @Override public SampleResult sample(Entry e) { return dummy.sample(); } DummySampler(); boolean interrupt(); @Override SampleResult sample(Entry e); DummyElement getDummy();  }