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