use of org.orcid.persistence.dao.ProfileDao in project ORCID-Source by ORCID.
the class ProfileEntityManagerImplTest method testDisable2FA.
public void testDisable2FA() {
ProfileDao profileDao = Mockito.mock(ProfileDao.class);
Mockito.doNothing().when(profileDao).disable2FA(Mockito.eq("some-orcid"));
profileEntityManager.disable2FA("some-orcid");
Mockito.verify(profileDao).disable2FA(Mockito.eq("some-orcid"));
}
use of org.orcid.persistence.dao.ProfileDao in project ORCID-Source by ORCID.
the class ProfileEntityManagerImplTest method testDisable2FA.
public void testDisable2FA() {
ProfileDao profileDao = Mockito.mock(ProfileDao.class);
Mockito.doNothing().when(profileDao).disable2FA(Mockito.eq("some-orcid"));
profileEntityManager.disable2FA("some-orcid");
Mockito.verify(profileDao).disable2FA(Mockito.eq("some-orcid"));
}
Aggregations