public void ProfileLeftViewRenders() { GadgetWithProfileLeftView data = new GadgetWithProfileLeftView(); GadgetMaster target = new GadgetMaster(testFactory, data.Source); CheckRender(target, "Profile", data.ExpectedProfile); }
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"); }