I have a method that takes 2 parameters like:
assetService(assetDto dto, HttpPostedFileBase photo)
and i can't use moq with this. How can i do that? (using 'moq')
public ResultObjectDto CreateAsset(AssetDto model, HttpPostedFileBase file)
and i want to moq this
Assert.IsTrue(_assetService.CreateAsset(new AssetDto(), postedFileBase).ResultType == ResultType.Error);
this moq is wrong, how can i do that