doReturn( userRoleListService1 ).when( userRoleListService ).getUserRoleListService();
doReturn( roles ).when( userRoleListService1 ).getAllRoles();
doReturn( extraRoles ).when( userRoleListService ).getExtraRoles();
RoleListWrapper roleListWrapper = userRoleListService.getAllRoles();
verify( userRoleListService ).getUserRoleListService();
verify( userRoleListService1 ).getAllRoles();
verify( userRoleListService ).getExtraRoles();
assertEquals( 4, roleListWrapper.getRoles().size() );
}