From c7eff075efffdd0f18598df5fd290fe51f2aacda Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 15 Dec 2024 17:36:18 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- tests/Support/FluentDecoratorTest.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/Support/FluentDecoratorTest.php b/tests/Support/FluentDecoratorTest.php index 79ab35dd..0bb616ae 100644 --- a/tests/Support/FluentDecoratorTest.php +++ b/tests/Support/FluentDecoratorTest.php @@ -38,5 +38,12 @@ public function it_can_be_utilise_fluent_features() $this->assertTrue(isset($fluent->laravel)); $this->assertSame(Application::VERSION, $fluent['laravel']); $this->assertSame(Application::VERSION, $fluent->laravel); + + unset($fluent['class']); + + $this->assertFalse(isset($fluent['class'])); + $this->assertFalse(isset($fluent->class)); + $this->assertNull($fluent['class']); + $this->assertNull($fluent->class); } }