public function testAdvisorCanBeRegistered()
{
$advisor = $this->getMock(Advisor::class);
$this->container->registerAdvisor($advisor, 'test');
// Verify that tag is working
$advisors = $this->container->getByTag('advisor');
$this->assertSame(array('advisor.test' => $advisor), $advisors);
}