{"id":3799,"date":"2026-11-08T15:38:19","date_gmt":"2026-11-08T06:38:19","guid":{"rendered":"https:\/\/qol-kk.com\/wp2\/?p=3799"},"modified":"2026-11-08T15:38:19","modified_gmt":"2026-11-08T06:38:19","slug":"20260914-00mu0kt1","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2026\/11\/08\/20260914-00mu0kt1\/","title":{"rendered":"PHPUnit\u3068Mockery\u3067\u5b66\u3076\u4f9d\u5b58\u5206\u96e2\u3068\u30e2\u30c3\u30af\u30c6\u30b9\u30c8\u306e\u5b9f\u8df5"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>\u300c\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u305f\u3044\u304c\u3001DB\u3084\u5916\u90e8API\u306b\u4f9d\u5b58\u3057\u3066\u3044\u3066\u66f8\u3051\u306a\u3044\u300d\u2014\u2014\u30ec\u30ac\u30b7\u30fc\u5bc4\u308a\u306ePHP\u30b3\u30fc\u30c9\u3067\u983b\u51fa\u3059\u308b\u60a9\u307f\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001PHPUnit\u306e\u6a19\u6e96\u30e2\u30c3\u30af\u3068Mockery\u3092\u4f7f\u3044\u5206\u3051\u306a\u304c\u3089\u3001\u4f9d\u5b58\u3092\u5207\u308a\u96e2\u3057\u3066\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u66f8\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u307e\u3067\u3092\u30cf\u30f3\u30ba\u30aa\u30f3\u5f62\u5f0f\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u306f\u3059\u3079\u3066\u516c\u958b\u60c5\u5831\u306b\u57fa\u3065\u304f\u6c4e\u7528\u4f8b\u3067\u3001\u5b9f\u5728\u306e\u6848\u4ef6\u60c5\u5831\u306f\u542b\u307f\u307e\u305b\u3093\u3002<\/p>\n<h2>\u74b0\u5883<\/h2>\n<ul>\n<li>PHP 8.2<\/li>\n<li>PHPUnit 10.x<\/li>\n<li>Mockery 1.6.x\uff08<code>mockery\/mockery<\/code>\uff09<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true\">composer require --dev phpunit\/phpunit mockery\/mockery<\/pre>\n<h2>\u30c6\u30b9\u30c8\u3057\u3065\u3089\u3044\u30b3\u30fc\u30c9\u306e\u5178\u578b\u4f8b<\/h2>\n<pre class=\"lang:default decode:true\">&lt;?php\n\nclass PointService\n{\n    public function grant(int $userId, int $amount): void\n    {\n        $pdo = new PDO('mysql:host=localhost;dbname=app', 'user', 'pass'); \/\/ \u76f4\u63a5\u751f\u6210\n        $stmt = $pdo-&gt;prepare('UPDATE users SET points = points + ? WHERE id = ?');\n        $stmt-&gt;execute([$amount, $userId]);\n\n        (new NotificationClient())-&gt;send($userId, \"{$amount}\u30dd\u30a4\u30f3\u30c8\u4ed8\u4e0e\u3057\u307e\u3057\u305f\"); \/\/ \u76f4\u63a5\u751f\u6210\n    }\n}<\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001\u30c6\u30b9\u30c8\u306e\u305f\u3073\u306b\u5b9fDB\u3078\u63a5\u7d9a\u3057\u3001\u5916\u90e8API\u3092\u672c\u5f53\u306b\u547c\u3073\u51fa\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u300c\u4ed8\u4e0e\u6642\u306b\u901a\u77e5\u304c1\u56de\u9001\u3089\u308c\u308b\u300d\u3068\u3044\u3046\u30ed\u30b8\u30c3\u30af\u3060\u3051\u3092\u53d6\u308a\u51fa\u3057\u3066\u691c\u8a3c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<h2>\u539f\u56e0<\/h2>\n<p>\u539f\u56e0\u306f\u3001<strong>\u5177\u4f53\u7684\u306a\u5b9f\u88c5\u3078\u306e\u4f9d\u5b58\u3092\u547c\u3073\u51fa\u3057\u5074\u304c\u5185\u90e8\u3067\u7d44\u307f\u7acb\u3066\u3066\u3044\u308b\u3053\u3068<\/strong>\u3067\u3059\u3002\u30c6\u30b9\u30c8\u6642\u306b\u5dee\u3057\u66ff\u3048\u305f\u3044\u3082\u306e\uff08DB\u30fb\u5916\u90e8API\uff09\u304c\u30af\u30e9\u30b9\u5185\u90e8\u306b\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30c6\u30b9\u30c8\u304b\u3089\u4ecb\u5165\u3067\u304d\u307e\u305b\u3093\u3002\u89e3\u6c7a\u306e\u65b9\u5411\u306f\u4f9d\u5b58\u6027\u306e\u9006\u8ee2\u2014\u2014\u5177\u8c61\u3067\u306f\u306a\u304f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u4f9d\u5b58\u3055\u305b\u3001\u5b9f\u4f53\u3092\u5916\u304b\u3089\u6ce8\u5165\u3057\u307e\u3059\u3002<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<h3>1. \u4f9d\u5b58\u3092\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3078\u5207\u308a\u51fa\u3059<\/h3>\n<pre class=\"lang:default decode:true\">&lt;?php\n\ninterface PointRepository\n{\n    public function addPoints(int $userId, int $amount): void;\n}\n\ninterface Notifier\n{\n    public function notify(int $userId, string $message): void;\n}<\/pre>\n<h3>2. \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u4f9d\u5b58\u3055\u305b\u3001\u6ce8\u5165\u3059\u308b<\/h3>\n<pre class=\"lang:default decode:true\">&lt;?php\n\nclass PointService\n{\n    public function __construct(\n        private PointRepository $repository,\n        private Notifier $notifier,\n    ) {}\n\n    public function grant(int $userId, int $amount): void\n    {\n        if ($amount &lt;= 0) {\n            throw new InvalidArgumentException('amount must be positive');\n        }\n        $this-&gt;repository-&gt;addPoints($userId, $amount);\n        $this-&gt;notifier-&gt;notify($userId, \"{$amount}\u30dd\u30a4\u30f3\u30c8\u4ed8\u4e0e\u3057\u307e\u3057\u305f\");\n    }\n}<\/pre>\n<p>\u3053\u308c\u3067 <code>PointService<\/code> \u306f\u4fdd\u5b58\u65b9\u6cd5\u3082\u901a\u77e5\u65b9\u6cd5\u3082\u77e5\u3089\u305a\u3001\u30c9\u30e1\u30a4\u30f3\u30ed\u30b8\u30c3\u30af\u3060\u3051\u3092\u62c5\u3046\u5b58\u5728\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>\u5b9f\u88c5\u4f8b<\/h2>\n<h3>PHPUnit\u6a19\u6e96\u30e2\u30c3\u30af<\/h3>\n<pre class=\"lang:default decode:true\">&lt;?php\n\nuse PHPUnit\\Framework\\TestCase;\n\nclass PointServiceTest extends TestCase\n{\n    public function test_\u4fdd\u5b58\u3068\u901a\u77e5\u304c1\u56de\u305a\u3064\u547c\u3070\u308c\u308b(): void\n    {\n        $repository = $this-&gt;createMock(PointRepository::class);\n        $notifier   = $this-&gt;createMock(Notifier::class);\n\n        $repository-&gt;expects($this-&gt;once())\n            -&gt;method('addPoints')-&gt;with(100, 50);\n\n        $notifier-&gt;expects($this-&gt;once())\n            -&gt;method('notify')-&gt;with(100, $this-&gt;stringContains('50\u30dd\u30a4\u30f3\u30c8'));\n\n        (new PointService($repository, $notifier))-&gt;grant(100, 50);\n    }\n\n    public function test_\u4e0d\u6b63\u306aamount\u3067\u4f8b\u5916_\u526f\u4f5c\u7528\u306a\u3057(): void\n    {\n        $repository = $this-&gt;createMock(PointRepository::class);\n        $notifier   = $this-&gt;createMock(Notifier::class);\n\n        $repository-&gt;expects($this-&gt;never())-&gt;method('addPoints');\n        $notifier-&gt;expects($this-&gt;never())-&gt;method('notify');\n\n        $this-&gt;expectException(InvalidArgumentException::class);\n        (new PointService($repository, $notifier))-&gt;grant(100, 0);\n    }\n}<\/pre>\n<p>\u526f\u4f5c\u7528\u3092\u6301\u3064\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u623b\u308a\u5024\u3067\u306f\u306a\u304f <code>expects()<\/code>\uff08\u56de\u6570\uff09\u3068 <code>with()<\/code>\uff08\u5f15\u6570\uff09\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<h3>Mockery<\/h3>\n<pre class=\"lang:default decode:true\">&lt;?php\n\nuse PHPUnit\\Framework\\TestCase;\nuse Mockery;\nuse Mockery\\Adapter\\Phpunit\\MockeryPHPUnitIntegration;\n\nclass PointServiceMockeryTest extends TestCase\n{\n    use MockeryPHPUnitIntegration; \/\/ Mockery::close() \u3092\u81ea\u52d5\u5316\n\n    public function test_\u4fdd\u5b58\u3068\u901a\u77e5\u304c1\u56de\u305a\u3064\u547c\u3070\u308c\u308b(): void\n    {\n        $repository = Mockery::mock(PointRepository::class);\n        $notifier   = Mockery::mock(Notifier::class);\n\n        $repository-&gt;shouldReceive('addPoints')-&gt;once()-&gt;with(100, 50);\n        $notifier-&gt;shouldReceive('notify')-&gt;once()\n            -&gt;with(100, Mockery::pattern('\/50\u30dd\u30a4\u30f3\u30c8\/'));\n\n        (new PointService($repository, $notifier))-&gt;grant(100, 50);\n    }\n}<\/pre>\n<p><code>MockeryPHPUnitIntegration<\/code> \u30c8\u30ec\u30a4\u30c8\u3092\u4f7f\u3046\u3068\u3001\u671f\u5f85\u5024\u306e\u691c\u8a3c\u3068 <code>Mockery::close()<\/code> \u304c\u81ea\u52d5\u3067\u8d70\u308a\u307e\u3059\u3002\u624b\u52d5\u306a\u3089 <code>tearDown()<\/code> \u3067 <code>Mockery::close()<\/code> \u3092\u547c\u3073\u307e\u3059\u3002<\/p>\n<h3>\u623b\u308a\u5024\u3092\u8fd4\u3059\u30e2\u30c3\u30af<\/h3>\n<pre class=\"lang:default decode:true\">\/\/ PHPUnit\n$repository-&gt;method('findPoints')-&gt;with(100)-&gt;willReturn(200);\n\/\/ Mockery\n$repository-&gt;shouldReceive('findPoints')-&gt;with(100)-&gt;andReturn(200);<\/pre>\n<h3>PHPUnit\u30e2\u30c3\u30af\u3068Mockery\u306e\u4f7f\u3044\u5206\u3051<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>PHPUnit\u6a19\u6e96<\/th>\n<th>Mockery<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u8ffd\u52a0\u4f9d\u5b58<\/td>\n<td>\u4e0d\u8981<\/td>\n<td>\u5fc5\u8981<\/td>\n<\/tr>\n<tr>\n<td>\u8a18\u8ff0\u30b9\u30bf\u30a4\u30eb<\/td>\n<td>\u3084\u3084\u624b\u7d9a\u304d\u7684<\/td>\n<td>\u5ba3\u8a00\u7684\u30fb\u6d41\u66a2<\/td>\n<\/tr>\n<tr>\n<td>\u5f15\u6570\u30de\u30c3\u30c1\u30e3<\/td>\n<td><code>callback()<\/code> \u306a\u3069<\/td>\n<td><code>Mockery::on()<\/code> \/ <code>pattern()<\/code> \u304c\u8c4a\u5bcc<\/td>\n<\/tr>\n<tr>\n<td>\u90e8\u5206\u30e2\u30c3\u30af<\/td>\n<td>\u3084\u3084\u624b\u9593<\/td>\n<td><code>makePartial()<\/code> \u304c\u7c21\u5358<\/td>\n<\/tr>\n<tr>\n<td>final\/static\u306e\u6271\u3044<\/td>\n<td>\u82e6\u624b<\/td>\n<td>\u5bfe\u5fdc\u53ef\uff08\u4e71\u7528\u6ce8\u610f\uff09<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u57fa\u672c\u306fPHPUnit\u6a19\u6e96\u3067\u8db3\u308a\u3001\u8907\u96d1\u306a\u5f15\u6570\u30de\u30c3\u30c1\u3084\u90e8\u5206\u30e2\u30c3\u30af\u304c\u5fc5\u8981\u306a\u3068\u304d\u306bMockery\u3092\u9078\u3076\u3001\u3068\u3044\u3046\u5224\u65ad\u304c\u5b9f\u8df5\u7684\u3067\u3059\u3002<\/p>\n<h2>\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<pre class=\"lang:default decode:true\">vendor\/bin\/phpunit --testdox<\/pre>\n<pre class=\"lang:default decode:true\">Point Service\n \u2714 \u4fdd\u5b58\u3068\u901a\u77e5\u304c1\u56de\u305a\u3064\u547c\u3070\u308c\u308b\n \u2714 \u4e0d\u6b63\u306aamount\u3067\u4f8b\u5916 \u526f\u4f5c\u7528\u306a\u3057<\/pre>\n<p>DB\u63a5\u7d9a\u3082\u5916\u90e8API\u547c\u3073\u51fa\u3057\u3082\u767a\u751f\u305b\u305a\u3001\u30c6\u30b9\u30c8\u304c\u9ad8\u901f\u306b\u5b8c\u4e86\u3059\u308c\u3070\u4f9d\u5b58\u304c\u6b63\u3057\u304f\u5207\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u63a5\u7d9a\u304c\u8d77\u304d\u3066\u3044\u308c\u3070\u3001\u307e\u3060\u4f9d\u5b58\u304c\u6b8b\u3063\u3066\u3044\u308b\u30b5\u30a4\u30f3\u3067\u3059\u3002<\/p>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<ul>\n<li>\u30e2\u30c3\u30af\u306f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08\u62bd\u8c61\uff09\u306b\u5bfe\u3057\u3066\u884c\u3046\u3002\u5177\u8c61\u30af\u30e9\u30b9\u306e\u30e2\u30c3\u30af\u306f\u5b9f\u88c5\u5909\u66f4\u306b\u8106\u3044\u3002<\/li>\n<li>\u30e2\u30c3\u30af\u3057\u3059\u304e\u306a\u3044\u3002\u7d14\u7c8b\u306a\u8a08\u7b97\u30ed\u30b8\u30c3\u30af\u307e\u3067\u30e2\u30c3\u30af\u5316\u3059\u308b\u3068\u3001\u30c6\u30b9\u30c8\u304c\u5b9f\u88c5\u306e\u30b3\u30d4\u30fc\u306b\u306a\u308a\u58ca\u308c\u3084\u3059\u304f\u306a\u308b\u3002\u30e2\u30c3\u30af\u306f\u5883\u754c\uff08DB\u30fb\u5916\u90e8API\u30fb\u6642\u523b\u30fb\u4e71\u6570\uff09\u306b\u9650\u5b9a\u3059\u308b\u3002<\/li>\n<li><code>Mockery::close()<\/code> \u3092\u5fc5\u305a\u547c\u3076\u3002\u547c\u3070\u306a\u3044\u3068\u671f\u5f85\u5024\u691c\u8a3c\u304c\u8d70\u3089\u305a\u3001\u30c6\u30b9\u30c8\u304c\u5b9f\u8cea\u7121\u610f\u5473\u306b\u306a\u308b\u3002<\/li>\n<li>static\/final\u30e1\u30bd\u30c3\u30c9\u306e\u30e2\u30c3\u30af\u306f\u6700\u7d42\u624b\u6bb5\u3002\u307e\u305a\u8a2d\u8a08\u5074\u3067\u56de\u907f\u3067\u304d\u306a\u3044\u304b\u691c\u8a0e\u3059\u308b\u3002<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u30c6\u30b9\u30c8\u304c\u66f8\u3051\u306a\u3044\u4e3b\u56e0\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u300c\u4f9d\u5b58\u3092\u5185\u90e8\u3067 <code>new<\/code> \u3057\u3066\u3044\u308b\u3053\u3068\u300d\u3067\u3059\u3002\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u62bd\u51fa\u3068\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u6ce8\u5165\u3067\u30c6\u30b9\u30c8\u5bfe\u8c61\u3092\u30c9\u30e1\u30a4\u30f3\u30ed\u30b8\u30c3\u30af\u306b\u7d5e\u308a\u3001PHPUnit\u6a19\u6e96\u30e2\u30c3\u30af\u3092\u57fa\u672c\u306b\u3001\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051Mockery\u3092\u8db3\u3059\u3002\u30e2\u30c3\u30af\u306f\u5883\u754c\u306b\u3060\u3051\u4f7f\u3044\u3001<code>Mockery::close()<\/code> \u3092\u5fc5\u305a\u8d70\u3089\u305b\u308b\u2014\u2014\u3053\u306e2\u70b9\u3092\u5b88\u308c\u3070\u3001\u30e2\u30c3\u30af\u30c6\u30b9\u30c8\u306f\u5341\u5206\u306b\u4fdd\u5b88\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305a\u306f1\u30af\u30e9\u30b9\u3001\u4f9d\u5b58\u30921\u3064\u5207\u308a\u51fa\u3057\u3066\u30e2\u30c3\u30af\u306b\u5dee\u3057\u66ff\u3048\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u305f\u3044\u304c\u3001DB\u3084\u5916\u90e8API\u306b\u4f9d\u5b58\u3057\u3066\u3044\u3066\u66f8\u3051\u306a\u3044\u300d\u2014\u2014\u30ec\u30ac\u30b7\u30fc\u5bc4\u308a\u306ePHP\u30b3\u30fc\u30c9\u3067\u983b\u51fa\u3059\u308b\u60a9\u307f\u3067\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001PHPUnit\u306e\u6a19\u6e96\u30e2\u30c3\u30af\u3068Mockery\u3092\u4f7f\u3044\u5206\u3051\u306a\u304c\u3089\u3001\u4f9d\u5b58\u3092\u5207\u308a\u96e2\u3057\u3066\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3092\u66f8\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u307e\u3067\u3092\u30cf\u2026<\/p>\n","protected":false},"author":1,"featured_media":3798,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[34],"tags":[64,1201,1188,750],"class_list":["post-3799","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-memorandum","tag-api","tag-phpunit","tag-1188","tag-750"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/qol-kk.com\/wp2\/wp-content\/uploads\/2026\/11\/20260914-00mu0kt1-thumbnail.jpg","_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=3799"}],"version-history":[{"count":1,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3799\/revisions"}],"predecessor-version":[{"id":3800,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3799\/revisions\/3800"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/3798"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=3799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=3799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=3799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}