public function testRegistration()
 {
     $this->assertFalse($this->filterGroup->isRegistered());
     $this->routingMock->expects($this->once())->method('filter');
     $this->resolverMock->expects($this->once())->method('methodToClosure');
     $this->filterGroup->register($this->routingMock, $this->resolverMock);
     $this->assertTrue($this->filterGroup->isRegistered());
 }