|  | @@ -35,63 +35,6 @@
 | 
	
		
			
			| 35 | 35 |  	[_bindedViewController verify];
 | 
	
		
			
			| 36 | 36 |  }
 | 
	
		
			
			| 37 | 37 |  
 | 
	
		
			
			| 38 |  | -
 | 
	
		
			
			| 39 |  | -- (void)testApplyOptions_shouldSetBackButtonOnBindedViewController_withTitle {
 | 
	
		
			
			| 40 |  | -	Text* title = [[Text alloc] initWithValue:@"Title"];
 | 
	
		
			
			| 41 |  | -	self.options.topBar.backButton.title = title;
 | 
	
		
			
			| 42 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:nil withColor:nil title:title.get];
 | 
	
		
			
			| 43 |  | -	[self.uut applyOptions:self.options];
 | 
	
		
			
			| 44 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 45 |  | -}
 | 
	
		
			
			| 46 |  | -
 | 
	
		
			
			| 47 |  | -- (void)testApplyOptions_shouldSetBackButtonOnBindedViewController_withHideTitle {
 | 
	
		
			
			| 48 |  | -	Text* title = [[Text alloc] initWithValue:@"Title"];
 | 
	
		
			
			| 49 |  | -	self.options.topBar.backButton.title = title;
 | 
	
		
			
			| 50 |  | -	self.options.topBar.backButton.showTitle = [[Bool alloc] initWithValue:@(0)];
 | 
	
		
			
			| 51 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:nil withColor:nil title:@""];
 | 
	
		
			
			| 52 |  | -	[self.uut applyOptions:self.options];
 | 
	
		
			
			| 53 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 54 |  | -}
 | 
	
		
			
			| 55 |  | -
 | 
	
		
			
			| 56 |  | -- (void)testApplyOptions_shouldSetBackButtonOnBindedViewController_withIcon {
 | 
	
		
			
			| 57 |  | -	Image* image = [[Image alloc] initWithValue:[UIImage new]];
 | 
	
		
			
			| 58 |  | -	self.options.topBar.backButton.icon = image;
 | 
	
		
			
			| 59 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:image.get withColor:nil title:nil];
 | 
	
		
			
			| 60 |  | -	[self.uut applyOptions:self.options];
 | 
	
		
			
			| 61 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 62 |  | -}
 | 
	
		
			
			| 63 |  | -
 | 
	
		
			
			| 64 |  | -- (void)testApplyOptionsOnWillMoveToParent_shouldSetBackButtonOnBindedViewController_withTitle {
 | 
	
		
			
			| 65 |  | -	Text* title = [[Text alloc] initWithValue:@"Title"];
 | 
	
		
			
			| 66 |  | -	self.options.topBar.backButton.title = title;
 | 
	
		
			
			| 67 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:nil withColor:nil title:title.get];
 | 
	
		
			
			| 68 |  | -	[self.uut applyOptionsOnWillMoveToParentViewController:self.options];
 | 
	
		
			
			| 69 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 70 |  | -}
 | 
	
		
			
			| 71 |  | -
 | 
	
		
			
			| 72 |  | -- (void)testApplyOptionsOnWillMoveToParent_shouldSetBackButtonOnBindedViewController_withHideTitle {
 | 
	
		
			
			| 73 |  | -	Text* title = [[Text alloc] initWithValue:@"Title"];
 | 
	
		
			
			| 74 |  | -	self.options.topBar.backButton.title = title;
 | 
	
		
			
			| 75 |  | -	self.options.topBar.backButton.showTitle = [[Bool alloc] initWithValue:@(0)];
 | 
	
		
			
			| 76 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:nil withColor:nil title:@""];
 | 
	
		
			
			| 77 |  | -	[self.uut applyOptionsOnWillMoveToParentViewController:self.options];
 | 
	
		
			
			| 78 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 79 |  | -}
 | 
	
		
			
			| 80 |  | -
 | 
	
		
			
			| 81 |  | -- (void)testApplyOptionsOnWillMoveToParent_shouldSetBackButtonOnBindedViewController_withIcon {
 | 
	
		
			
			| 82 |  | -	Image* image = [[Image alloc] initWithValue:[UIImage new]];
 | 
	
		
			
			| 83 |  | -	self.options.topBar.backButton.icon = image;
 | 
	
		
			
			| 84 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:image.get withColor:nil title:nil];
 | 
	
		
			
			| 85 |  | -	[self.uut applyOptionsOnWillMoveToParentViewController:self.options];
 | 
	
		
			
			| 86 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 87 |  | -}
 | 
	
		
			
			| 88 |  | -
 | 
	
		
			
			| 89 |  | -- (void)testApplyOptionsOnWillMoveToParent_shouldSetBackButtonOnBindedViewController_withDefaultValues {
 | 
	
		
			
			| 90 |  | -	[[_bindedViewController expect] rnn_setBackButtonIcon:nil withColor:nil title:nil];
 | 
	
		
			
			| 91 |  | -	[self.uut applyOptionsOnWillMoveToParentViewController:self.options];
 | 
	
		
			
			| 92 |  | -	[_bindedViewController verify];
 | 
	
		
			
			| 93 |  | -}
 | 
	
		
			
			| 94 |  | -
 | 
	
		
			
			| 95 | 38 |  - (void)testApplyOptionsBeforePoppingShouldSetTopBarBackgroundForPoppingViewController {
 | 
	
		
			
			| 96 | 39 |  	_options.topBar.background.color = [[Color alloc] initWithValue:[UIColor redColor]];
 | 
	
		
			
			| 97 | 40 |  	
 |