public void Creation_NormalStatusBarColors()
        {
            var resources = Substitute.For <IBarsColorsChanger>();

            IoCManager.RegisterInstance(typeof(IBarsColorsChanger), resources);
            var sut = new ExhibitDetailsViewModel(new List <Page> (), "Test");

            resources.Received().ChangeToolbarColor(Color.Pink, Color.Pink);
        }
        public void Creation_AdditionalInformationWithCorrectStatusBarColors()
        {
            var resources = Substitute.For <IBarsColorsChanger> ();

            IoCManager.RegisterInstance(typeof(IBarsColorsChanger), resources);
            var sut = new ExhibitDetailsViewModel(new List <Page>(), "Test", true);

            resources.Received().ChangeToolbarColor(Color.FromRgb(128, 128, 128), Color.FromRgb(169, 169, 169));
        }