public void Should_be_possible_to_create_a_collectRequest_entity_from_collectRequest_DTO_with_targetParameters_null()
        {
            // Arrange
            //Session fakeSession = this.GetSession();
            //XpoDefault.DataLayer = XpoDefault.GetDataLayer(AutoCreateOption.DatabaseAndSchema);
            var fakeSession = GetSession();
            CollectRequestAssembler collectRequestAssembler = new CollectRequestAssembler(dataProvider);

            var collectPackageDTO = CollectRequestDtoFactory.CreateCollectPackageDTO("10.0.0.1");
            var collectRequestDTO = collectPackageDTO.CollectRequests[0];
            // Act
            var collectRequest = collectRequestAssembler.CreateCollectRequestFromDTO(collectRequestDTO, collectPackageDTO.Definitions.First().Text);
            TargetParameter targetParameter = null;
            //Assert
            Assert.AreEqual("10.0.0.1", collectRequest.Target.Address);
            Assert.IsNull(targetParameter);
        }