Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.asset.mock;

import java.time.OffsetDateTime;

import gov.va.med.pbm.ampl.controller.EnvironmentInternalController;
import gov.va.med.pbm.ampl.model.Signature;

/**
* This class generates mock data for the {@link EnvironmentInternalController} end points .
*
* @author Ian Meinert
* @author Pavani Mukthipudi
*
* @since 1.0
*/
public class SignatureData {
/**
* Generate mock data for a {@link Signature} object.
*
* @param k - integer to use in the mock data
* @param date - date to use for the {@link Signature}
* @return {@link Signature} object
*/
public Signature generateSignature(int k, OffsetDateTime date) {
Signature sig = new Signature();
sig.setBlockName("BlockName" + k);
sig.setBlockTitle("BlockTitle" + k);
sig.setSignator("signer" + k);
sig.setSignDate(date);

return sig;
}
}