public static async Task Main(string[] args)
        {
            DependencyFactory.Instance.RegisterDependencies();
            IListClient client = DependencyFactory.Instance.Resolve <IListClient>();

            var response = await client.GetSizeAsync(93798);

            Console.ReadLine();
        }
 public GetAllListsAsyncTests()
 {
     _listClient = new ListClient(MockRestClient.Object);
 }
 public CreateAsyncTests()
 {
     _listClient = new ListClient(MockRestClient.Object);
 }
Esempio n. 4
0
 public SubscribeAsyncTests()
 {
     _listClient = new ListClient(MockRestClient.Object);
 }
 public EtapeFichierTest()
 {
     _repoClient   = Substitute.For <IRepoClient>();
     _listClient   = Substitute.For <IListClient>();
     _lireFichiers = Substitute.For <ILireFichiers>();
 }
 public EtapeFichier(IRepoClient repoClient, IListClient listClient, ILireFichiers lireFichiers)
 {
     _repoClient   = repoClient;
     _listClient   = listClient;
     _lireFichiers = lireFichiers;
 }