Update NavigationBarControllerImplTest

Update logic to init nav bar / task bar delegate when folding

Fixes: 324989451
Test: presubmit
Change-Id: I18bfcb50d1aef2f5fef292c47533d051843899da
1 file changed