public function testAddFilter()
 {
     $closure = function () {
         return 'test';
     };
     $this->filter->shouldReceive('add')->with($closure)->once();
     $this->assertEquals($this->constructor, $this->constructor->addFilter($closure));
 }