ComponentKitTests/StatefulViews/CKStatefulViewReusePoolTests.mm [384:410]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  __block BOOL calledBlock = NO;
  CKStatefulViewReusePool *pool = [[CKStatefulViewReusePool alloc] init];

  // Warm up the pool so that pending reuse will occur
  [pool enqueueStatefulView:[[CKTestStatefulView alloc] init]
         forControllerClass:[CKTestStatefulViewComponentController class]
                    context:nil
         mayRelinquishBlock:^BOOL{
           calledBlock = YES;
           return YES;
         }];

  CKRunRunLoopUntilBlockIsTrue(^BOOL{
    return calledBlock;
  });

  [pool dequeueStatefulViewForControllerClass:[CKTestStatefulViewComponentController class]
                           preferredSuperview:nil
                                      context:nil];

  calledBlock = NO;
  CKTestStatefulView *view = [[CKTestStatefulView alloc] init];
  [pool enqueueStatefulView:view
         forControllerClass:[CKTestStatefulViewComponentController class]
                    context:nil
         mayRelinquishBlock:^BOOL{
           calledBlock = YES;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ComponentKitTests/StatefulViews/CKStatefulViewReusePoolTests.mm [424:450]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  __block BOOL calledBlock = NO;
  CKStatefulViewReusePool *pool = [[CKStatefulViewReusePool alloc] init];

  // Warm up the pool so that pending reuse will occur
  [pool enqueueStatefulView:[[CKTestStatefulView alloc] init]
         forControllerClass:[CKTestStatefulViewComponentController class]
                    context:nil
         mayRelinquishBlock:^BOOL{
           calledBlock = YES;
           return YES;
         }];

  CKRunRunLoopUntilBlockIsTrue(^BOOL{
    return calledBlock;
  });

  [pool dequeueStatefulViewForControllerClass:[CKTestStatefulViewComponentController class]
                           preferredSuperview:nil
                                      context:nil];

  calledBlock = NO;
  CKTestStatefulView *view = [[CKTestStatefulView alloc] init];
  [pool enqueueStatefulView:view
         forControllerClass:[CKTestStatefulViewComponentController class]
                    context:nil
         mayRelinquishBlock:^BOOL{
           calledBlock = YES;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



