From 7b0e6d64170dbb4126b38efaa66a037abd18b476 Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Mon, 18 May 2020 09:19:48 -0700 Subject: [PATCH] call Xamarin.Forms Init --- .../Behaviors/EventToCommandBehaviorFixture.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Forms/Prism.Forms.Tests/Behaviors/EventToCommandBehaviorFixture.cs b/tests/Forms/Prism.Forms.Tests/Behaviors/EventToCommandBehaviorFixture.cs index ba08848add..e493506417 100644 --- a/tests/Forms/Prism.Forms.Tests/Behaviors/EventToCommandBehaviorFixture.cs +++ b/tests/Forms/Prism.Forms.Tests/Behaviors/EventToCommandBehaviorFixture.cs @@ -10,6 +10,11 @@ namespace Prism.Forms.Tests.Behaviors { public class EventToCommandBehaviorFixture { + public EventToCommandBehaviorFixture() + { + Xamarin.Forms.Mocks.MockForms.Init(); + } + private class ItemTappedEventArgsConverter : IValueConverter { private readonly bool _returnParameter;