public void TestRegistrations()
        {
            var resolver = new MutableDependencyResolver(Locator.CurrentMutable);

            Bootstrapper.Register(resolver, Locator.Current);

            resolver
            .RegisteredTypes
            .ForEach(type => Locator.Current.GetRequiredService(type));
        }
        public void TestDialogRegistrations()
        {
            var resolver = new MutableDependencyResolver(Locator.CurrentMutable);

            Bootstrapper.Register(resolver, Locator.Current);

            var viewModelsAssembly = Assembly.GetAssembly(typeof(ViewModelBase));
            var dialogTypes        = viewModelsAssembly
                                     .GetTypes()
                                     .Where(t => t.FullName.EndsWith("DialogViewModel"))
                                     .ToArray();

            Assert.NotEmpty(dialogTypes);

            var areAllDialogsRegistered = dialogTypes.All(t => resolver.RegisteredTypes.Contains(t));

            Assert.True(areAllDialogsRegistered);
        }