mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-10 07:16:44 +02:00
Add test for StaticStringy invocation
This commit is contained in:
@@ -20,6 +20,12 @@ class StaticStringyTestCase extends PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals('', (string) $result);
|
$this->assertEquals('', (string) $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testInvocation()
|
||||||
|
{
|
||||||
|
$result = S::toLowerCase('FOOBAR');
|
||||||
|
$this->assertEquals('foobar', (string) $result);
|
||||||
|
}
|
||||||
|
|
||||||
public function testPartialArgsInvocation()
|
public function testPartialArgsInvocation()
|
||||||
{
|
{
|
||||||
$result = S::slice('foobar', 0, 3);
|
$result = S::slice('foobar', 0, 3);
|
||||||
|
Reference in New Issue
Block a user