how to write unit test case for return value
<p>I have a class which declare the dictionary tags</p>

<p>This is declare in class FirstClass</p>

<pre><code>-(NSDictionary *)getTags{

return tags;
}
</code></pre>

<p>At unit testing</p>

<p>i created FirstClassTest class of ocUnit Testing</p>

<p>included #import "FirstClass.h"</p>

<pre><code>-(void)setUP{


    [super setUp];
// Allocations the class

_firstClass = [[FirstClass alloc]init];

}

-(void)tearDown{
_firstClass =nil;
    [super tearDown];

}
-(void)testDictationGetValue{
// Need to write Unit test for that class
[_firstClass getTags];

}
</code></pre>

<p>This is my first time writing unit testing!
Can any one guide me to write proper unit test cases </p>

<p>@All Thanks in advance</p>
