Exemplo n.º 1
0
 public CollectResultAssembler()
 {
     this.executionLogAssembler = new ExecutionLogAssembler();
 }
Exemplo n.º 2
0
        public void Should_be_possible_to_get_ExecutionLogDTO_from_ExecutionLog()
        {
            IEnumerable<CollectExecutionLog> executionLogs = this.GetExecutionLogs();

            ExecutionLogAssembler assembler = new ExecutionLogAssembler();
            var executionLog = assembler.CreateDTOFromExecutionLog(executionLogs.First());
            Assert.IsNotNull(executionLog);
            Assert.IsNotNull(executionLog.Date);
            Assert.IsNotNull(executionLog.LogType);
            Assert.IsNotNull(executionLog.Message);
        }
Exemplo n.º 3
0
 public void Should_be_possible_get_a_collection_of_executionLogDTO_from_executionLogs()
 {
     var executionLogs = this.GetExecutionLogs();
     ExecutionLogAssembler assembler = new ExecutionLogAssembler();
     var executionLogDTOs = assembler.CreateDTOsFromCollectionOfExecutionLogs(executionLogs);
     Assert.IsTrue(executionLogDTOs.Count() > 0);
 }
Exemplo n.º 4
0
 public CollectResultAssembler()
 {
     this.executionLogAssembler = new ExecutionLogAssembler();
 }