'Sampling returns value when probe succeeds.'

@capture_logging(None)
def test_good_probe(self, logger):

    sampled = sample(FakeOperation(repeat(True)), FakeMetric(repeat(5)), 1)
    self.assertEqual(self.successResultOf(sampled), {'success': True, 'value': 5})
