public void RearrangeShouldReturnJson() { ////Arrange providerService.Arrange(s => s.Search(Arg.IsAny <ProviderQueryModel>())).Returns( new List <Provider> { Mapper.Map <Provider>(DataHelper.GetProvider()), Mapper.Map <Provider>(DataHelper.GetProvider()) }); ////Act var result = providerController.Rearrange(0, 1); ////Assert result.Should().BeOfType(typeof(JsonResult)); }