Index: Core/Common/test/Core.Common.Gui.Test/Commands/GuiExportHandlerTest.cs =================================================================== diff -u -red9d163d590d844654e2d245127bf8f1fb55ad4b -r2af72eef7f1fbf19a0107b4fc91f6fa2956f80ac --- Core/Common/test/Core.Common.Gui.Test/Commands/GuiExportHandlerTest.cs (.../GuiExportHandlerTest.cs) (revision ed9d163d590d844654e2d245127bf8f1fb55ad4b) +++ Core/Common/test/Core.Common.Gui.Test/Commands/GuiExportHandlerTest.cs (.../GuiExportHandlerTest.cs) (revision 2af72eef7f1fbf19a0107b4fc91f6fa2956f80ac) @@ -272,7 +272,14 @@ var dialogParent = mocks.Stub(); mocks.ReplayAll(); - var commandHandler = new GuiExportHandler(dialogParent, Enumerable.Empty()); + var commandHandler = new GuiExportHandler(dialogParent, new List() + { + new ExportInfo(), // Wrong object type + new ExportInfo // Disabled + { + IsEnabled = o => false + } + }); // Call var isExportPossible = commandHandler.CanExportFrom(new object());