public void CreateCriteriaDTOWithCoorectIdProperty_Test()
        {
            // Arrange
            var criterion = FactoryForTest.GetCriterion(id: 1);

            // Act
            var criterionDTO = factory.Create(criterion);

            // Assert
            Assert.AreEqual(criterion.Id, criterionDTO.Id);
        }
        public void CreateCriteriaDTOWhichHasToBeNotNull_Test()
        {
            // Arrange
            var criterion = FactoryForTest.GetCriterion();

            // Act
            var criterionDTO = factory.Create(criterion);

            // Assert
            Assert.IsNotNull(criterionDTO);
        }