| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- <?php
 
- namespace Test\Unit;
 
- use Test\TestCase;
 
- use Web3\Formatters\StringFormatter;
 
- class StringFormatterTest extends TestCase
 
- {
 
-     /**
 
-      * formatter
 
-      * 
 
-      * @var \Web3\Formatters\StringFormatter
 
-      */
 
-     protected $formatter;
 
-     /**
 
-      * setUp
 
-      * 
 
-      * @return void
 
-      */
 
-     public function setUp()
 
-     {
 
-         parent::setUp();
 
-         $this->formatter = new StringFormatter;
 
-     }
 
-     /**
 
-      * testFormat
 
-      * 
 
-      * @return void
 
-      */
 
-     public function testFormat()
 
-     {
 
-         $formatter = $this->formatter;
 
-         $str = $formatter->format(123456);
 
-         $this->assertEquals($str, '123456');
 
-     }
 
- }
 
 
  |