def METHOD_NAME(self):
    self.assertEqual(
        getAdapter(self.portal, INavigationSchema).nonfolderish_tabs, True
    )
    self.navigation_settings.nonfolderish_tabs = False
    self.assertEqual(
        getAdapter(self.portal, INavigationSchema).nonfolderish_tabs, False
    )