public void SetUp()
        {
            var factory = Substitute.For<IRequestFactory>();
            factory.CreateClient().Returns(Substitute.For<IRestClient>());
            factory.CreateRequest(null).Returns(Substitute.For<IRestRequest>());

            descendant = new LinkedInClientDescendant(factory, Substitute.For<IClientConfiguration>());
        }
        public void SetUp()
        {
            var factory = Substitute.For <IRequestFactory>();

            factory.CreateClient().Returns(Substitute.For <IRestClient>());
            factory.CreateRequest(null).Returns(Substitute.For <IRestRequest>());

            descendant = new LinkedInClientDescendant(factory, Substitute.For <IClientConfiguration>());
        }