Exemplo n.º 1
0
        public void ProfileLeftViewRenders()
        {
            GadgetWithProfileLeftView data = new GadgetWithProfileLeftView();

            GadgetMaster target = new GadgetMaster(testFactory, data.Source);

            CheckRender(target, "Profile", data.ExpectedProfile);
        }
Exemplo n.º 2
0
        public void ProfileLeftSetsGadgetLocation()
        {
            GadgetWithProfileLeftView data = new GadgetWithProfileLeftView();

            GadgetMaster target = new GadgetMaster(testFactory, data.Source);

            CheckRender(target, "Profile", data.ExpectedProfile);

            Assert.AreEqual(target.MySpaceViewSettings.ProfileLocation, "left");
        }