<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mike_neck</author_name>
  <author_url>https://blog.hatena.ne.jp/mike_neck/</author_url>
  <blog_title>mike-neckのブログ</blog_title>
  <blog_url>https://mike-neck.hatenadiary.com/</blog_url>
  <categories>
    <anon>Spring</anon>
  </categories>
  <description>久々に Spring WebFlux を書いてたのだが、いまいちルーティングがうまくできず、 Routing Function に対してテストを書いてみることにした。 で、テストの書き方を調べてみたのだが、とりあえず何も見つからなかった(サーバーを起動するパターンは見つかったが、ルーターのテストごときでサーバーを起動したくない)ので、Reactor のテストの書き方をもとに強引に書いてみた。これが正しいのかどうかはわからない。 プロダクションコード プロダクションコードはこんな感じ。 @Configuration class Routing { private final MyHandler …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F2018%2F08%2F02%2F073000&quot; title=&quot; Spring WebFlux の Router Function のテスト - mike-neckのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mike_neck/20180802/20180802004547.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-02 07:30:00</published>
  <title> Spring WebFlux の Router Function のテスト</title>
  <type>rich</type>
  <url>https://mike-neck.hatenadiary.com/entry/2018/08/02/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
