Ejemplo n.º 1
0
 public DocumentModelValidatorTest()
 {
     _modulesServiceMock = new Mock <IModulesService>();
     _documentValidator  = new DocumentModelValidator(_modulesServiceMock.Object);
     _documentSm         = new DocumentSaveModel
     {
         CandidateId  = Guid.NewGuid(),
         Filename     = "MyCV.pdf",
         DocumentType = (int)DocumentType.BusinessPlan,
         ReviewerId   = Guid.NewGuid(),
     };
 }
Ejemplo n.º 2
0
 public DocumentModel()
 {
     DocumentTypes = ReferencesProvider.GetReferences(Constants.DocumentTypeRef, null, true);
     validator     = new DocumentModelValidator();
 }
Ejemplo n.º 3
0
 public DocumentTests()
 {
     _validator = new DocumentModelValidator();
 }