summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/units/Core/ExternalTask/ExternalTaskManagerTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php b/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php
index e6f4e069..8eec64de 100644
--- a/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php
+++ b/tests/units/Core/ExternalTask/ExternalTaskManagerTest.php
@@ -41,4 +41,10 @@ class ExternalTaskManagerTest extends Base
$expected = array('MyProvider1' => 'MyProvider1', 'MyProvider2' => 'MyProvider2');
$this->assertEquals($expected, $providers);
}
+
+ public function testGetProviderListWithNoProviders()
+ {
+ $manager = new ExternalTaskManager();
+ $this->assertSame(array(), $manager->getProvidersList());
+ }
}