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