Adds more assertions to the test

pull/1331/head
Jorge Canizales 10 years ago
parent 6a84b3d269
commit 6ad8c2008e
  1. 3
      src/objective-c/examples/Sample/SampleTests/SampleTests.m

@ -124,7 +124,8 @@
XCTAssertNotNil(value, @"nil value received as response.");
[response fulfill];
RGDFeature *feature = [RGDFeature parseFromData:value];
NSLog(@"%@ %@", feature.name, feature.location);
XCTAssertEqualObjects(point, feature.location);
XCTAssertNotNil(feature.name, @"Response's name is nil.");
[expectedResponse fulfill];
} completionHandler:^(NSError *errorOrNil) {
XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil);

Loading…
Cancel
Save