public void GetImportInfos_ReturnsSupportedImportInfos() { // Setup using (var plugin = new StabilityStoneCoverPlugin()) { // Call ImportInfo[] importInfos = plugin.GetImportInfos().ToArray(); // Assert Assert.AreEqual(1, importInfos.Length); Assert.IsTrue(importInfos.Any(i => i.DataType == typeof(StabilityStoneCoverCalculationGroupContext))); } }
public void SetUp() { plugin = new StabilityStoneCoverPlugin(); importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(StabilityStoneCoverCalculationGroupContext)); }