public virtual void test_parse() { LegalEntityId test = LegalEntityId.parse(STANDARD_ID.ToString()); assertEquals(test.StandardId, STANDARD_ID); assertEquals(test.ReferenceDataType, typeof(LegalEntity)); assertEquals(test.ToString(), STANDARD_ID.ToString()); }
//------------------------------------------------------------------------- public virtual void test_of_strings() { LegalEntityId test = LegalEntityId.of("A", "1"); assertEquals(test.StandardId, STANDARD_ID); assertEquals(test.ReferenceDataType, typeof(LegalEntity)); assertEquals(test.ToString(), STANDARD_ID.ToString()); }