Applied fixes from StyleCI

This commit is contained in:
James Brooks
2015-10-05 09:18:41 -04:00
committed by StyleCI Bot
parent 5b897f18b9
commit 752d353900

View File

@@ -43,7 +43,7 @@ class EventServiceProviderTest extends AbstractTestCase
$this->assertGreaterThan(0, count($map));
}
/**
/**
* @depends testListenerMapIsAnArray
*/
public function testListenerMapEventsExist()
@@ -65,12 +65,13 @@ class EventServiceProviderTest extends AbstractTestCase
$this->assertSame($events, array_keys($map));
}
protected function getListenerMap()
{
$class = $this->getServiceProviderClass($this->app);
$reflection = new ReflectionClass($class);
$property = $reflection->getProperty('listen');
$property->setAccessible(true);
return $property->getValue(new $class($this->app));
}
protected function getListenerMap()
{
$class = $this->getServiceProviderClass($this->app);
$reflection = new ReflectionClass($class);
$property = $reflection->getProperty('listen');
$property->setAccessible(true);
return $property->getValue(new $class($this->app));
}
}