From ff36c798924951f0811fe200cd156d9f026a77b8 Mon Sep 17 00:00:00 2001 From: "Daniel St. Jules" Date: Wed, 2 Sep 2015 23:37:17 -0700 Subject: [PATCH] Add test for StaticStringy invocation --- tests/StaticStringyTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/StaticStringyTest.php b/tests/StaticStringyTest.php index 90312ee..a2840cd 100644 --- a/tests/StaticStringyTest.php +++ b/tests/StaticStringyTest.php @@ -20,6 +20,12 @@ class StaticStringyTestCase extends PHPUnit_Framework_TestCase $this->assertEquals('', (string) $result); } + public function testInvocation() + { + $result = S::toLowerCase('FOOBAR'); + $this->assertEquals('foobar', (string) $result); + } + public function testPartialArgsInvocation() { $result = S::slice('foobar', 0, 3);