public function testCanCheckIfIsIp() { $this->assertTrue(Strings::isIp('192.168.1.1')); $this->assertFalse(Strings::isIp('foobar')); }