public function testDeligateAllParamterToTheContainedCallableWhenInvoked() { $callback = new Callback($this); $this->parameter = new \stdClass(); $this->wasCalled = false; $callback($this->parameter); $this->assertTrue($this->wasCalled); }