public void Map_TransferToDomain_Test()
        {
            //Arrange
            IDiagnosticsMapper mapper = new DiagnosticsMapper();
            var transferDiagnostics = new TransferDiagnostics
            {
                DiagnosticsId = 1,
                Date = new DateTime(2015, 1, 1),
                EntityState = EntityState.Unchanged,
                ExceptionName = "NewException",
                Message = "Error",
                UserId = 1
            };
            var expectedDomainDiagnostics = new DomainDiagnosticsLikeness
            {
                DiagnosticsId = 1,
                Date = new DateTime(2015, 1, 1),
                EntityState = EntityState.Unchanged,
                ExceptionName = "NewException",
                Message = "Error",
                UserId = 1
            };

            //Act
            var actualDomainDiagnostics = mapper.Map(transferDiagnostics);

            //Assert
            Assert.That(actualDomainDiagnostics, Is.EqualTo(expectedDomainDiagnostics));
        }
        public void Map_NullDiagnostics_ReturnsNull_Test()
        {
            //Arrange
            IDiagnosticsMapper mapper = new DiagnosticsMapper();

            //Assert
            Assert.That(mapper.Map(diagnostics: null), Is.Null);
        }