BadImageFormat aside, if IOnlineAVLVehicleService inherits from
IClientChannel, why do you need to use MultiMock? CreateMock should be
good to go.
IOnlineAVLVehicleService vehicleService =
mock.CreateMultiMock<IOnlineAVLVehicleService>();
IClientChannel clientChannel = vehicleService;
Assert.IsNotNull(clientChannel); // this should pass!
Cheers,
Kenneth
On Mon, Jul 6, 2009 at 12:35 AM, Matthew Evans<climba...@gmail.com> wrote:
>
> The IOnlineAVLVehicleService interface inherits from
> System.ServiceModel.IClientChannel.
> This current configuration throws a BadImageFormat error, where as I
> am unaware of any alternative to create multiple remote mocks.
>