public virtual void test_of_standardId()
        {
            SecurityId test = SecurityId.of(STANDARD_ID);

            assertEquals(test.StandardId, STANDARD_ID);
            assertEquals(test.ReferenceDataType, typeof(Security));
            assertEquals(test.ToString(), STANDARD_ID.ToString());
        }
        //-------------------------------------------------------------------------
        public virtual void test_methods()
        {
            Position test = sut();

            assertEquals(test.Id, null);
            assertEquals(test.Info, PositionInfo.empty());
            assertEquals(test.Quantity, 123d);
            assertEquals(test.SecurityId, SecurityId.of(STANDARD_ID));
        }
        //-------------------------------------------------------------------------
        public virtual void test_equalsHashCode()
        {
            SecurityId a  = SecurityId.of("A", "1");
            SecurityId a2 = SecurityId.of("A", "1");
            SecurityId b  = SecurityId.of("B", "1");

            assertEquals(a.Equals(a), true);
            assertEquals(a.Equals(a2), true);
            assertEquals(a.Equals(b), false);
            assertEquals(a.Equals(null), false);
            assertEquals(a.Equals(ANOTHER_TYPE), false);
        }