1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-07 05:46:42 +02:00

Add test for StaticStringy invocation

This commit is contained in:
Daniel St. Jules
2015-09-02 23:37:17 -07:00
parent 8f40b3495d
commit ff36c79892

View File

@@ -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);