public function testConvertsCallableToCondition()
{
$instance = $this->createTestInstance();
$this->wasCalled = false;
$subject = new \stdClass();
$context = new \ArrayIterator();
$result = $instance->checkCondition($subject, $context);
$this->assertTrue($this->wasCalled);
$this->assertTrue($result);
}