/** * @test * @since 4.1.0 */ public function returnsParsedValuesForCommonProperties() { assert($this->createPropertyBinding('DEV')->getInstance($this->injector, 'baz'), equals(reflect(Properties::class))); }
/** * @test */ public function throwsRuntimeExceptionWhenCreatedWithoutSession() { expect(function () { $this->sessionScope->getInstance(reflect(\stdClass::class), $this->provider); })->throws(\RuntimeException::class); }