/** * test phone method of RuValidation * * @return void */ public function testPhone() { $this->assertTrue(RuValidation::phone('+7 (342) 1234567')); $this->assertTrue(RuValidation::phone('+7 (41144) 1234')); }