def METHOD_NAME(self):
    self.app = self.layer["app"]
    self.portal = self.layer["portal"]
    self.request = self.layer["request"]
    self.mt = getToolByName(self.portal, "portal_membership")
    # suitable for testing z3c.form views
    alsoProvides(self.request, IPloneFormLayer)