/** * @expectedException \Exception * @expectedExceptionMessage Given argument is not callable. */ public function testCallbackInvalidArgument() { DB::transaction(10); }