def METHOD_NAME(self):
    """A new playlist should be created when new_association is True
    and an idpOrganizationAssociation exists."""
    saml_details = {"roles": ["teacher"], **self.default_saml_details}
    idp_organization_association = IdpOrganizationAssociationFactory(
        idp_identifier="http://marcha.local/idp/"
    )
    create_playlist_from_saml(
        None,  # strategy is unused
        saml_details,
        self.backend,
        user=self.user,
        response=self.saml_response,
        new_association=True,
    )
    playlist = Playlist.objects.last()
    playlist_access = PlaylistAccess.objects.last()
    self.assertEqual(
        playlist.organization, idp_organization_association.organization
    )
    self.assertEqual(playlist.title, self.user.username)
    self.assertEqual(playlist_access.playlist, playlist)
    self.assertEqual(playlist_access.user, self.user)
    self.assertEqual(playlist_access.role, ADMINISTRATOR)