Index: Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -rf60d85a271557ad7adb560b18ccbfd358b2e7118 -r8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9 --- Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision f60d85a271557ad7adb560b18ccbfd358b2e7118) +++ Riskeer/GrassCoverErosionOutwards/test/Riskeer.GrassCoverErosionOutwards.Plugin.Test/TreeNodeInfos/GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9) @@ -1647,7 +1647,7 @@ { var appFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.Stub(); - importHandler.Stub(ihm => ihm.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); + importHandler.Stub(ih => ih.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); var exportHandler = mocks.Stub(); var updateHandler = mocks.Stub(); var viewCommands = mocks.Stub(); @@ -1698,7 +1698,7 @@ { var appFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.Stub(); - importHandler.Stub(ihm => ihm.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); + importHandler.Stub(ih => ih.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); var exportHandler = mocks.Stub(); var updateHandler = mocks.Stub(); var viewCommands = mocks.Stub(); Index: Riskeer/Piping/test/Riskeer.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r8ed38c3734f5a84b61376c9137be9250421d3d26 -r8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9 --- Riskeer/Piping/test/Riskeer.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 8ed38c3734f5a84b61376c9137be9250421d3d26) +++ Riskeer/Piping/test/Riskeer.Piping.Plugin.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9) @@ -32,6 +32,7 @@ using Core.Common.Gui.Commands; using Core.Common.Gui.ContextMenu; using Core.Common.Gui.Forms.MainWindow; +using Core.Common.Gui.Plugin; using Core.Common.Gui.TestUtil.ContextMenu; using Core.Common.TestUtil; using NUnit.Extensions.Forms; @@ -235,7 +236,10 @@ var applicationFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.StrictMock(); - importHandler.Expect(ihm => ihm.CanImportOn(nodeData)).Return(true); + importHandler.Expect(ihm => ihm.GetSupportedImportInfos(nodeData)).Return(new[] + { + new ImportInfo() + }); var exportHandler = mocks.StrictMock(); exportHandler.Expect(ehm => ehm.CanExportFrom(nodeData)).Return(true); var updateHandler = mocks.Stub(); @@ -369,7 +373,10 @@ var applicationFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.StrictMock(); - importHandler.Expect(ihm => ihm.CanImportOn(nodeData)).Return(true); + importHandler.Expect(ihm => ihm.GetSupportedImportInfos(nodeData)).Return(new[] + { + new ImportInfo() + }); var exportHandler = mocks.StrictMock(); exportHandler.Expect(ehm => ehm.CanExportFrom(nodeData)).Return(true); var updateHandler = mocks.Stub(); Index: Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs =================================================================== diff -u -r389868939500c397bb8f18faee20ad540a19a1fe -r8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9 --- Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 389868939500c397bb8f18faee20ad540a19a1fe) +++ Riskeer/StabilityStoneCover/test/Riskeer.StabilityStoneCover.Plugin.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationGroupContextTreeNodeInfoTest.cs) (revision 8889ecfd578a7e217185d5ec4b52a09c1b7ab0d9) @@ -32,6 +32,7 @@ using Core.Common.Gui.Commands; using Core.Common.Gui.ContextMenu; using Core.Common.Gui.Forms.MainWindow; +using Core.Common.Gui.Plugin; using Core.Common.Gui.TestUtil.ContextMenu; using Core.Common.TestUtil; using NUnit.Extensions.Forms; @@ -469,7 +470,10 @@ var applicationFeatureCommandHandler = mocks.Stub(); var importCommandHandler = mocks.StrictMock(); - importCommandHandler.Expect(ihm => ihm.CanImportOn(nodeData)).Return(true); + importCommandHandler.Expect(ihm => ihm.GetSupportedImportInfos(nodeData)).Return(new[] + { + new ImportInfo() + }); var exportCommandHandler = mocks.StrictMock(); exportCommandHandler.Expect(ehm => ehm.CanExportFrom(nodeData)).Return(true); var updateCommandHandler = mocks.StrictMock(); @@ -566,7 +570,10 @@ var applicationFeatureCommandHandler = mocks.Stub(); var importCommandHandler = mocks.StrictMock(); - importCommandHandler.Expect(ihm => ihm.CanImportOn(nodeData)).Return(true); + importCommandHandler.Expect(ihm => ihm.GetSupportedImportInfos(nodeData)).Return(new[] + { + new ImportInfo() + }); var exportCommandHandler = mocks.StrictMock(); exportCommandHandler.Expect(ehm => ehm.CanExportFrom(nodeData)).Return(true); var updateCommandHandler = mocks.StrictMock(); @@ -1672,6 +1679,7 @@ { var appFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.Stub(); + importHandler.Stub(ih => ih.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); var exportHandler = mocks.Stub(); var updateHandler = mocks.Stub(); var viewCommands = mocks.Stub(); @@ -1720,6 +1728,7 @@ { var appFeatureCommandHandler = mocks.Stub(); var importHandler = mocks.Stub(); + importHandler.Stub(ih => ih.GetSupportedImportInfos(context)).Return(new ImportInfo[0]); var exportHandler = mocks.Stub(); var updateHandler = mocks.Stub(); var viewCommands = mocks.Stub();