/** * @test */ public function aliasingBean() { $bean = new Bean(['value' => ['alias' => 'someAlias']]); self::assertSame($bean->getAlias(), 'someAlias'); }