'Test SettableEnrollmentState creation of user.'

def test_mes_create(self):

    mes = SettableEnrollmentState(user=True, enrollment=True, allowed=False, auto_enroll=False)
    eobjs = mes.create_user(self.course_key)
    ees = EmailEnrollmentState(self.course_key, eobjs.email)
    self.assertEqual(mes, ees)
