A convenience class for testing iOS view controllers
Add the following to your Podfile:
pod "KPAViewControllerTestHelper", git: "https://github.com/klaaspieter/KPAViewControllerTestHelper.git"
Before a test present the view controller like so:
[KPAViewControllerTestHelper presentViewController:_viewController];
Or if the view controller is part of a navigation stack use:
[KPAViewControllerTestHelper pushViewController:_viewController];