コード例 #1
0
        protected override void Context()
        {
            base.Context();
            _rootContainer = CreateContainer(null, "Sim", ContainerType.Simulation);
            var organism = CreateContainer(_rootContainer, "Organism");
            var liver    = CreateContainer(organism, "Liver");
            var plasma   = CreateContainer(liver, "Plasma", ContainerType.Compartment);

            _moleculeAmount = new MoleculeAmount().WithName("ABC").WithParentContainer(plasma);
        }
コード例 #2
0
 protected override void Context()
 {
     sut = new MoleculeAmount {
         Name = "TOTO"
     };
 }