mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-15 09:44:14 +02:00
Add assertStringy shortcut
This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
|
||||
abstract class CommonTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Asserts that a variable is of a Stringy instance.
|
||||
*
|
||||
* @param mixed $actual
|
||||
*/
|
||||
public function assertStringy($actual)
|
||||
{
|
||||
$this->assertInstanceOf('Stringy\Stringy', $actual);
|
||||
}
|
||||
|
||||
public function charsProvider()
|
||||
{
|
||||
return array(
|
||||
|
Reference in New Issue
Block a user