def METHOD_NAME(self):
    # Else check for IBrowserDefault, either if the container implements
    # it or if an adapter exists. In both cases fetch its FTI and either
    # take it if it implements IDynamicViewTypeInformation or adapt it to
    # IDynamicViewTypeInformation. call get_default_page on the implementer
    # and take value if given.
    # first check some preconditions
    #
    # 1) a folder provides IBrowserDefault
    from Products.CMFDynamicViewFTI.interfaces import IBrowserDefault
    self.assertTrue(IBrowserDefault.providedBy(self.folder))
    # 2) a folder also provides an fti that implements
    #    IDynamicViewTypeInformation
    from Products.CMFDynamicViewFTI.interfaces import (  # noqa
        IDynamicViewTypeInformation,
    )
    fti = self.folder.getTypeInfo()
    self.assertTrue(IDynamicViewTypeInformation.providedBy(fti))
    # so if we set a document as defaultpage
    self.folder.invokeFactory("Document", "d1", title="Doc 1")
    self.folder.setDefaultPage("d1")
    # 3) fti should return it
    self.assertEqual("d1", fti.getDefaultPage(self.folder, check_exists=True))
    # now test since we're sure everything set up correctly
    from plone.base.defaultpage import get_default_page
    self.assertEqual("d1", get_default_page(self.folder))
    # missing here:
    # - test adapter instead of direct implements in precondition 1
    # - test adapter instead of direct implements in precondition 2