public function testIsRemovingNonAlphanumeric() { $string = new String('Lorem !15@()!@##$*(dolor'); $result = $string->removeNonAlphanumeric(); $this->assertInstanceOf('Simple\\Type\\String', $result); $this->assertEquals('Lorem 15dolor', $result->toString()); }