public void UpdateQueryPartialEquals() { SetFakeContext(wc, true); Mapper.Initialize(m => m.AddProfile <DomainToViewModelMappingProfile>()); PartialViewResult result = wc.UpdateQueryPartial(1) as PartialViewResult; Assert.AreEqual("UpdateQueryPartial", result.ViewName); }