protected override void Context()
        {
            base.Context();
            _effluxDirection = new TransportDirection {
                Id = TransportDirectionId.EffluxIntracellularToInterstitial
            };
            _influxDirection = new TransportDirection {
                Id = TransportDirectionId.InfluxInterstitialToIntracellular
            };
            _transporterExpressionDTO = new TransporterExpressionParameterDTO
            {
                TransportDirection             = _effluxDirection,
                TransporterExpressionContainer = new TransporterExpressionContainer()
            };

            _command = A.Fake <IPKSimCommand>();
            A.CallTo(() => _moleculeExpressionTask.SetTransportDirection(_transporterExpressionDTO.TransporterExpressionContainer, _influxDirection.Id))
            .Returns(_command);
        }
 private int iconIndexFor(TransportDirection transportDirection) => ApplicationIcons.IconByName(transportDirection.Icon).Index;
 public void SetTransportDirection(TransporterExpressionParameterDTO transporterExpressionContainerDTO, TransportDirection transportDirection)
 {
     AddCommand(_moleculeExpressionTask.SetTransportDirection(transporterExpressionContainerDTO.TransporterExpressionContainer,
                                                              transportDirection.Id));
 }