mirror of
https://github.com/zhigang1992/braintree-ios-drop-in.git
synced 2026-01-12 22:46:13 +08:00
21 lines
658 B
Objective-C
21 lines
658 B
Objective-C
#import <XCTest/XCTest.h>
|
|
#import "BTDropInBaseViewController.h"
|
|
|
|
@interface BTDropInBaseViewControllerTests : XCTestCase
|
|
|
|
@end
|
|
|
|
@implementation BTDropInBaseViewControllerTests
|
|
|
|
- (void)testPrefersStatusBarHidden_returnsTrue {
|
|
BTDropInBaseViewController *viewController = [[BTDropInBaseViewController alloc] init];
|
|
XCTAssertTrue(viewController.prefersStatusBarHidden);
|
|
}
|
|
|
|
- (void)testPreferredStatusBarUpdateAnimation_returnsUIStatusBarAnimationSlide {
|
|
BTDropInBaseViewController *viewController = [[BTDropInBaseViewController alloc] init];
|
|
XCTAssertEqual(UIStatusBarAnimationSlide, viewController.preferredStatusBarUpdateAnimation);
|
|
}
|
|
|
|
@end
|