public void Setup()
        {
            _postgresClaimDao = new PostgresClaimDao();
            _claimController  = new ClaimController(null);
            _insertedClaims   = new List <int>();
            var claim = ClaimBuilder.Create()
                        .WithStatus("ABIERTO")
                        .WithDescription("Bolso negro extraviado en el areopuerto de maiquetia")
                        .WithTitle("Bolso extraviado")
                        .WithBagagge(6)
                        .Build();

            _claimMapper = MapperFactory.CreateClaimMapper();
            _claimDto    = _claimMapper.CreateDTO(claim);
        }
Beispiel #2
0
 public void Setup()
 {
     _claimMapper = MapperFactory.CreateClaimMapper();
     _claimDto    = new ClaimDto()
     {
         BaggageId   = 1,
         Description = "Description",
         Id          = 10,
         Status      = "CERRADO",
         Title       = "Titulo!"
     };
     _claimDtoList = new List <ClaimDto> {
         _claimDto
     };
 }