use of org.nextprot.api.user.domain.UserProteinList in project nextprot-api by calipho-sib.
the class UserResourceAuthorizationServiceTest method testDeleteUserProteinListService.
@Test
public void testDeleteUserProteinListService() {
UserProteinList proteinList = Mockito.mock(UserProteinList.class);
dressMockedUserProteinList(proteinList, "bobleponge");
Mockito.when(userProteinListDao.getUserProteinListById(anyLong())).thenReturn(proteinList);
userProteinListService.deleteUserProteinList(proteinList);
}
Aggregations