public static void Initialize(TestContext context)
 {
     _typeOfString = typeof(string).AssemblyQualifiedName;
     _typeOfInt = typeof(int).AssemblyQualifiedName;
     _typeOfAssetEditable = new AssetEditable().GetType().AssemblyQualifiedName;
     _typeOfAssetStatus = new AssetStatus().GetType().AssemblyQualifiedName;
     _typeOfBool = typeof(bool).AssemblyQualifiedName;
     _typeOfAssetType = new AssetType().GetType().AssemblyQualifiedName;
 }
Ejemplo n.º 2
0
 private static AssetEditable GenerateSampleAsset()
 {
     var sampleStatus = new AssetStatus { Code = "TRAD", Id = 2356, Name = "Tradeable", RequiresDeletion = false };
     var sampleType = new AssetType {Code = "B", Name = "Bond"};
     return new AssetEditable { Id = 1, Status = sampleStatus, AssetType = sampleType, HandlingQuotes = true, Name = "Octo Asset", Code = "OCT"};
 }