{"blog_title":"\u7b97\u8b5c\u738b\u306b\u304a\u308c\u306f\u306a\u308b!!!!","author_name":"ngsw_taro","image_url":null,"published":"2018-08-21 09:52:56","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaro.hatenablog.jp%2Fentry%2F2018%2F08%2F21%2F095256\" title=\"\u3010\u89e3\u6c7a\u6e08\u307f\u3011Kotlin\u3067WebTestClient\u3092\u4f7f\u3046\u3068\u3001\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u307e\u308f\u308a\u3067\u30cf\u30de\u308b - \u7b97\u8b5c\u738b\u306b\u304a\u308c\u306f\u306a\u308b!!!!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/ngsw_taro/","url":"https://taro.hatenablog.jp/entry/2018/08/21/095256","categories":["Kotlin","Spring"],"height":"190","blog_url":"https://taro.hatenablog.jp/","description":"\u554f\u984c WebTestClient.BodySpec\u306eisEqualTo\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3068\u3001\u306c\u308b\u307d\u308b\u3002 webTestClient.get() .exchange() .expectBody(MyApiBody::class.java).isEqualTo<Nothing>(expectedBody) isEqualTo\u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u306b\u306f\u3001\u305d\u306e\u578b\u5f15\u6570\u3068\u3057\u3066Nothing\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\uff08\u305d\u3046\u3057\u306a\u3044\u3068\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u901a\u3089\u306a\u3044\uff09\u3002 \u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068NullPointerException\u304c\u767a\u751f\u3059\u308b\u3002 \u89e3\u6c7a\u65b9\u6cd5 \u62e1\u5f35\u95a2\u6570\u306eexpectBody\u3092\u4f7f\u7528\u3059\u308b\u3002 \u305f\u3060\u3057\u3001IDE\u306f\u3053\u306e\u62e1\u5f35\u95a2\u6570\u3092\u30b5\u30b8\u30a7\u30b9\u30c8\u3057\u2026","version":"1.0","type":"rich","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","title":"\u3010\u89e3\u6c7a\u6e08\u307f\u3011Kotlin\u3067WebTestClient\u3092\u4f7f\u3046\u3068\u3001\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u307e\u308f\u308a\u3067\u30cf\u30de\u308b"}