diff --git a/test/unit/StringFormatterTest.php b/test/unit/StringFormatterTest.php new file mode 100644 index 0000000..1a52658 --- /dev/null +++ b/test/unit/StringFormatterTest.php @@ -0,0 +1,40 @@ +formatter = new StringFormatter; + } + + /** + * testFormat + * + * @return void + */ + public function testFormat() + { + $formatter = $this->formatter; + + $str = $formatter->format(123456); + $this->assertEquals($str, '123456'); + } +} \ No newline at end of file