title: How Not to use OCMockObjects in XCTesting iOS
body: <pre><code>- (void)testMockDisplayBooksFromBookStoreMethod_callToRepositoryToFindAll_booksAreBoundToView 
  {
  
      NSArray* books = [NSArray arrayWithObjects:@"Moby Dick", @"The Grapes of Wrath", @"Tale of Two Cities", nil];
  
      id bookStoreRepository = [OCMockObject mockForProtocol:@protocol(IBookStoreRepository)];
      [[[bookStoreRepository expect] andReturn:books] findAllBooks];
  
      id displayBooksView = [OCMockObject mockForProtocol:@protocol(IDisplayBooksView)];
      [[displayBooksView expect] displayBooks:books];
  
      sut = [[BookListPresenter alloc] initWithBookStoreRepository:bookStoreRepository andDisplayBooksView:displayBooksView];
      [sut displayBooksFromBookstore];
  
  
      [bookStoreRepository verify];
      [displayBooksView verify];
  
  }
  </code></pre>
  
  <p>My question is how do i test for protocols without using OCMock in XCTesting.
  In the Above code ??</p>