Location: PHPKode > projects > JAOSS > makeusabrew-jaoss-48332bf/tests/library/AppManagerTest.php
<?php
class AppManagerTest extends PHPUnit_Framework_TestCase {
    public function setUp() {
        AppManager::reset();
    }

	public function testInstalledAppsStartsEmptyAndIsArray() {
		$this->assertType("array", AppManager::getInstalledApps());
		$this->assertEquals(0, count(AppManager::getInstalledApps()));
	}
	
	public function testGetAppReturnsCorrectValue() {
		$this->assertFalse(AppManager::isAppInstalled("Fake App"));
	}
}
Return current item: JAOSS