<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>zaphCoder &#187; unit-testing</title>
	<atom:link href="http://zaph.com/blog/?feed=rss2&#038;tag=unit-testing" rel="self" type="application/rss+xml" />
	<link>http://zaph.com/blog</link>
	<description>All About Code</description>
	<lastBuildDate>Fri, 19 Aug 2016 18:02:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Unit Testing</title>
		<link>http://zaph.com/blog/?p=343</link>
		<comments>http://zaph.com/blog/?p=343#comments</comments>
		<pubDate>Wed, 22 Feb 2012 17:58:01 +0000</pubDate>
		<dc:creator>zaph</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unit-testing]]></category>

		<guid isPermaLink="false">http://zaph.com/blog/?p=343</guid>
		<description><![CDATA[When testing private methods the compiler generates warning messages such as: &#8220;Instance MethodheaderEncodingFromXML:not found.&#8221; The solution is to add an Informal Protocol: @interface SegmentedParse (TestingInformalProtocol) - (NSString *)headerEncodingFromXML:(NSString *)xml; @end]]></description>
			<content:encoded><![CDATA[<div id="z-content">
<div class="z-font">
<div id="z-objc">
<p>When testing private methods the compiler generates warning messages such as:<br />
<span class="s0">&#8220;Instance MethodheaderEncodingFromXML:not found.&#8221;</span><br />
The solution is to add an Informal Protocol:</p>
<p class="p1"><span class="s2">@interface</span> SegmentedParse (TestingInformalProtocol)</p>
<p class="p1">- (<span class="s3">NSString</span> *)headerEncodingFromXML:(<span class="s3">NSString</span> *)xml;</p>
<p class="p2">@end</p>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://zaph.com/blog/?feed=rss2&#038;p=343</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
