Automattic\Phone\Mobile_Validator_Test::check_normalize PHP Method

check_normalize() private method

private check_normalize ( $test_data )
    private function check_normalize($test_data)
    {
        foreach ($test_data as $test_entry) {
            $number = $test_entry[0];
            $country = $test_entry[1];
            $expected = $test_entry[2];
            $actual = $this->mobile_validator->normalize($number, $country);
            $this->assertEquals($expected, $actual);
        }
    }