Ejemplo n.º 1
0
        public void CorrectRequestForGetAll()
        {
            var factory = Substitute.For <IConnection>();
            var client  = new KubernetesClient(factory);

            client.GetAll();
            factory.Received().GetPaginated <KubernetesCluster>("kubernetes/clusters", null, "kubernetes_clusters");
        }