/** * @test */ public function markingBeanWithRequestScope() { $bean = new Bean(['value' => ['scope' => 'request']]); self::assertTrue($bean->isRequest()); self::assertFalse($bean->isSession()); }