/** * @test * * @group quota * @group small * @group dev */ public function test_getQuotaAsArraySuccess() { // ARRANGE $expectedQuota = array('media' => array('maxFileSize' => 1024 * 1024 * 50, 'maxSizePerWebsite' => 1024 * 1024 * 1024 * 3), 'website' => array('maxCount' => 99999999), 'webhosting' => array('maxCount' => 99999999), 'export' => array('exportAllowed' => true), 'module' => array('enableDev' => true), 'expired' => false); // ACT $quota = new Quota(); $actualQuota = $quota->toArray(); // ASSERT $this->assertEquals($expectedQuota, $actualQuota); }