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