*
* @param data session data
* @param subgrp the subgroup to be validated
- * @param result the validation result
+ * @return the validation result
* @throws PfModelException if an error occurred
*/
private ValidationResult validateSupportedTypes(SessionData data, PdpSubGroup subgrp) throws PfModelException {
* @param dbsub subgroup from the DB, or {@code null} if this is a new subgroup
* @param subgrp the subgroup whose policies are to be validated, updated to fully
* qualified versions upon return
- * @param result the validation result
+ * @return the validation result
* @throws PfModelException if an error occurred
*/
private ValidationResult validatePolicies(SessionData data, PdpSubGroup dbsub, DeploymentSubGroup subgrp)
* the actual work.
*
* @param data session data
- * @param extPolicies external PDP policies
- * @return a list of requests that should be sent to configure the PDPs
+ * @param policies external PDP policies
* @throws PfModelException if an error occurred
*/
private void deploySimplePolicies(SessionData data, PdpDeployPolicies policies) throws PfModelException {
import static org.assertj.core.api.Assertions.assertThatCode;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;