<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kamekiti</author_name>
  <author_url>https://blog.hatena.ne.jp/Kamekiti/</author_url>
  <blog_title>NSBlogger</blog_title>
  <blog_url>https://nsblogger.hatenablog.com/</blog_url>
  <categories>
    <anon>objectivec</anon>
  </categories>
  <description>XCTestExpectation XCTestで非同期通信処理をテストしたいときに使えるクラスです。 XCTestExpectation *expectation = [self expectationWithDescription:@&quot;successfully load image&quot;]; [self.imageLoader getRequest:@&quot;http://dummy.jpg/&quot; success:^(UIImage* image){ XCTAssertNotNil(image); [expectation fulfill]; } failure:^(NSError *error){ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnsblogger.hatenablog.com%2Fentry%2F2015%2F02%2F09%2Fxctestexpectation_api_violation&quot; title=&quot;XCTestExpectationの「API violation」エラーの解決策 - NSBlogger&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>2015-02-09 23:17:47</published>
  <title>XCTestExpectationの「API violation」エラーの解決策</title>
  <type>rich</type>
  <url>https://nsblogger.hatenablog.com/entry/2015/02/09/xctestexpectation_api_violation</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
