public void BloombergTest()
        {
            SecuritiesIdentification target   = new SecuritiesIdentification(); // TODO: initialisez à une valeur appropriée
            BloombergIdentifier      expected = null;                           // TODO: initialisez à une valeur appropriée
            BloombergIdentifier      actual;

            target.Bloomberg = expected;
            actual           = target.Bloomberg;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Vérifiez l\'exactitude de cette méthode de test.");
        }
        public void ProprietaryIdentificationSourceTest()
        {
            SecuritiesIdentification target = new SecuritiesIdentification(); // TODO: initialisez à une valeur appropriée
            string expected = string.Empty;                                   // TODO: initialisez à une valeur appropriée
            string actual;

            target.ProprietaryIdentificationSource = expected;
            actual = target.ProprietaryIdentificationSource;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Vérifiez l\'exactitude de cette méthode de test.");
        }
        public void IdTest()
        {
            SecuritiesIdentification target = new SecuritiesIdentification(); // TODO: initialisez à une valeur appropriée
            long expected = 0;                                                // TODO: initialisez à une valeur appropriée
            long actual;

            target.Id = expected;
            actual    = target.Id;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Vérifiez l\'exactitude de cette méthode de test.");
        }
        public void DomesticIdentificationSourceTest()
        {
            SecuritiesIdentification target = new SecuritiesIdentification(); // TODO: initialisez à une valeur appropriée
            CountryCode expected            = null;                           // TODO: initialisez à une valeur appropriée
            CountryCode actual;

            target.DomesticIdentificationSource = expected;
            actual = target.DomesticIdentificationSource;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Vérifiez l\'exactitude de cette méthode de test.");
        }
        public void SecuritiesIdentificationConstructorTest()
        {
            string DomesticIdentificationSource = string.Empty;    // TODO: initialisez à une valeur appropriée
            string Isin = "XX1234567890";
            string OtherIdentification             = string.Empty; // TODO: initialisez à une valeur appropriée
            string ProprietaryIdentificationSource = string.Empty; // TODO: initialisez à une valeur appropriée
            string Bloomberg = string.Empty;                       // TODO: initialisez à une valeur appropriée
            string RIC       = string.Empty;                       // TODO: initialisez à une valeur appropriée
            string SEDOL     = string.Empty;                       // TODO: initialisez à une valeur appropriée
            SecuritiesIdentification target = new SecuritiesIdentification(DomesticIdentificationSource, Isin, OtherIdentification, ProprietaryIdentificationSource, Bloomberg, RIC, SEDOL);

            if (target.SecurityIdentification == "XX1234567890")
            {
                Assert.IsTrue(true);
            }
        }
 /// <summary>
 /// constructeur par défaut (obligatoire pour EF)
 /// </summary>
 public Portfolio(string ISIN, DateTime Date, string Name = null, SecuritiesIdentification Identification = null)
     : base(ISIN, Date)
 {
     this.Name           = Name;
     this.Identification = Identification;
 }