'Erzsébet', 'familyName' => 'Báthory']; $this->assertEquals($expectedName, UpdateHelper::splitRecipient('Báthory Erzsébet', 'HU')); $expectedName = ['givenName' => 'Matt', 'familyName' => 'Glaman']; $this->assertEquals($expectedName, UpdateHelper::splitRecipient('Matt Glaman', 'US')); } /** * @covers ::updateSubdivision * @covers ::loadSubdivisionUpdateMap */ public function testUpdateSubdivision() { $this->assertEquals('RS-RS', UpdateHelper::updateSubdivision('RS-RS')); // No dash. $this->assertEquals('California', UpdateHelper::updateSubdivision('California')); // Simple conversion. $this->assertEquals('CA', UpdateHelper::updateSubdivision('US-CA')); // Mapping. $this->assertEquals('Hokkaido', UpdateHelper::updateSubdivision('JP-01')); // Unknown. $this->assertEquals('JP-CA', UpdateHelper::updateSubdivision('JP-CA')); } } __halt_compiler();----SIGNATURE:----ibtScWnEu6sUaFUVvGMlsG2amr+qRqcBPvVeNE94zV3XLfDOB/L5BknEjHOOKzTwCtsSdPG6li4urjBrPxRDNjbs+8Tux4ptSPYHdknvC1pLUlCNWJUGT2tpp4PwXpe05uX/AS9OEPyIKHxghNF4lbPVaZaJtCy/S/6WdbLOQGKg/ffb+Y6GkaoPl+qiKJKL2O7o3NMMlKKuQpPq8xh9y2gY8twDROYAu1xsHg2UoH7WVSFkDnGblW+ANyBJBRmtOtgudKYwA2uuXIx4LVISaFDmoEsKK92MwwNUg8O6mlku39xRGeml4NV/3tOLHqs+ReVR72Pa47Ss2rte/JIvQgQnJVMWbiLDoX5gO4u/kD6oBVvIPIEFnkr+GxhiQrPKgV//e9PZ0CqVyx+a7tB+RCF1sTZfgbZLmn9CjxoL1Htaswth67m4+7wRP5nMk9nMVh8dIxaWZz+tLrWR/E19UZ20G1Ch4jDjelNBzUsXs9JEa8+RVxZ7kYQlVUnMwPzp4f2bRXA027KvQkIbdUMy5hHDDKawnXJKGHdTHYInkHGWqejIr9dn7rK6Ul1bWxwbSAZw6p3x+jdQSxks+7pAeD82e4+0S236pLM0gK1BuIIrExTPLdRfv/wNIo1YPmZqB3mw0i5e/3qYujRRDSwXF5iwK9WKa4tmU+fQVS/q3mQ=----ATTACHMENT:----NzIzOTA4Mzk1MjQ1MjU2MyAzNzg0MjIzMjU2NzI5MTY1IDQ4MTU5MzEzMDE1NTQwMzU=