using System;
using System.Net;
using Microsoft.VisualStudio.Services.Common;
using Microsoft.VisualStudio.Services.WebApi;
using MigrationTools.Clients;
using MigrationTools._EngineV1.Configuration;
using MigrationTools.Endpoints;
using MigrationTools.Endpoints.Infrastructure;

namespace MigrationTools.Tests.Core.Clients
{
    public class MigrationClientMock : IMigrationClient
    {
        private IWorkItemMigrationClient workItemMigrationClient;

        public MigrationClientMock(IWorkItemMigrationClient workItemMigrationClient)
        {
            this.workItemMigrationClient = workItemMigrationClient;
        }

        public IEndpointOptions Config => throw new NotImplementedException();

        public object InternalCollection => throw new NotImplementedException();

        public IWorkItemMigrationClient WorkItems => workItemMigrationClient;

        public ITestPlanMigrationClient TestPlans => throw new NotImplementedException();

        public VssCredentials Credentials => throw new NotImplementedException();

        public void Configure(IEndpointOptions config, NetworkCredential credentials = null)
        {
        }

        public T GetClient<T>() where T : IVssHttpClient
        {
            return default(T);
        }

        public T GetService<T>()
        {
            return default(T);
        }
    }
}