Exemple #1
0
        public void should_return_an_expression_profile_that_was_created_based_on_the_expression_profile_to_clone()
        {
            _clone.ShouldNotBeNull();
            _clone.ShouldBeEqualTo(_newExpressionProfile);

            A.CallTo(() => _expressionProfileUpdater.SynchronizeExpressionProfileWithExpressionProfile(_expressionProfile, _newExpressionProfile)).MustHaveHappened();
            _clone.Category.ShouldBeEqualTo(_dto.Category);
        }
Exemple #2
0
        public void should_have_created_an_expression_profile_based_on_the_value_defined_in_the_snapshot_file_for_the_enzyme_cyp3A4()
        {
            _expressionProfileCYP3A4.ShouldNotBeNull();
            var(enzyme, individual) = _expressionProfileCYP3A4;
            enzyme.Ontogeny.Name.ShouldBeEqualTo("CYP3A4");
            enzyme.ReferenceConcentration.ValueInDisplayUnit.ShouldBeEqualTo(4.32);
            var expressionInBone = individual.Organism.EntityAt <MoleculeExpressionContainer>("Brain", "Intracellular", enzyme.Name);

            expressionInBone.RelativeExpressionParameter.Value.ShouldBeEqualTo(0.004168, 1e-2);
        }
Exemple #3
0
        public void should_have_created_an_expression_profile_based_on_the_value_defined_in_the_snapshot_file_for_the_enzyme_cyp2C8()
        {
            _expressionProfileCYP2C8.ShouldNotBeNull();
            var(enzyme, individual) = _expressionProfileCYP2C8;
            enzyme.Ontogeny.Name.ShouldBeEqualTo("CYP2C8");
            enzyme.ReferenceConcentration.ValueInDisplayUnit.ShouldBeEqualTo(2.56);
            enzyme.HalfLifeIntestine.ValueInDisplayUnit.ShouldBeEqualTo(23);
            var expressionInBone = individual.Organism.EntityAt <MoleculeExpressionContainer>("Kidney", "Intracellular", enzyme.Name);

            expressionInBone.RelativeExpressionParameter.Value.ShouldBeEqualTo(0.0012661, 1e-2);
        }