public function testIsConvertingToSentenceCase() { $string = new String('LOREM IPSUM DOLOR'); $result = $string->toSentenceCase(); $this->assertInstanceOf('Simple\\Type\\String', $result); $this->assertEquals('Lorem ipsum dolor', $result->toString()); }