diff --git a/src/PHPUnitHelper.php b/src/PHPUnitHelper.php
index <HASH>..<HASH> 100644
--- a/src/PHPUnitHelper.php
+++ b/src/PHPUnitHelper.php
@@ -26,6 +26,9 @@ trait PHPUnitHelper
     /** @var array Contains the resources used by the test */
     private $resources = [];
 
+    /** @var mixed The result of the test */
+    private $result;
+
     /** @var object The tested resource */
     private $testingResource;
 
@@ -284,6 +287,34 @@ trait PHPUnitHelper
     }
 
     /**
+     * The result of the test.
+     *
+     * For example, the output of a command, or the crawler object of a request.
+     *
+     * @return mixed
+     */
+    protected function getResult()
+    {
+        if (null === $this->result) {
+            throw new \LogicException('Before you can call getResult(), you have to set a result with setResult().');
+        }
+
+        return $this->result;
+    }
+
+    /**
+     * The result of the test.
+     *
+     * This not allows method chaining.
+     *
+     * @param $result
+     */
+    protected function setResult($result)
+    {
+        $this->result = $result;
+    }
+
+    /**
      * Removes a mock from a collection. Optionally, also from the expected values.
      *
      * @param string $mockName
Add methods `setResult()` and `getResult()`.