<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hirohiro</author_name>
  <author_url>https://blog.hatena.ne.jp/Hirohiro/</author_url>
  <blog_title>wadahiroの日記</blog_title>
  <blog_url>https://wadahiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>LDAP</anon>
    <anon>Testing</anon>
  </categories>
  <description>今見ているコードがLDAPアクセスコードがあちこちに混ざっており、ユニットテストが非常にやりづらい。仕方ないのでJMockitを使って無理矢理ユニットテストを書いていたけど、書くのが結構大変なのとLDAPアクセス処理に変更が入った途端にテストコードが動かなくなるので、ApacheDSを使ってテスト用にEmbedded LDAP Serverを立てる方法を試してみた。 参考 http://directory.apache.org/apacheds/1.5/42-using-apacheds-for-unit-tests.html:title= サンプルコードが書かれているのだがそのままでは動かず…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwadahiro.hatenablog.com%2Fentry%2F20120105%2F1325766481&quot; title=&quot; ApacheDSを使ってLDAPアクセスをユニットテストする - wadahiroの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-05 21:28:01</published>
  <title> ApacheDSを使ってLDAPアクセスをユニットテストする</title>
  <type>rich</type>
  <url>https://wadahiro.hatenablog.com/entry/20120105/1325766481</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
