public void UnfollowAndFollowAgain()
        {
            try
            {
                // Get follows
                var prevFollows = RelationshipsManager.GetFollows();
                Assert.IsNotNull(prevFollows);

                // unfollow the first user
                RelationshipsManager.DestroyRelationship(prevFollows.First().Id);

                // Check if the user is not a follow
                var currentFollows = RelationshipsManager.GetFollows();
                Assert.IsNotNull(currentFollows);
                Assert.AreEqual(prevFollows.Count - 1, currentFollows.Count);

                // Follow again
                RelationshipsManager.CreateRelationship(prevFollows.First().Id);

                // Update current follows and check again
                currentFollows = RelationshipsManager.GetFollows();
                Assert.IsNotNull(currentFollows);
                Assert.AreEqual(prevFollows.Count, currentFollows.Count);
            }
            catch (Exceptions.InstagramAPICallException)
            {
                Assert.Fail("Instagram Api error.");
            }
        }
        public void TryToApproveAnAlreadyFollowedUser()
        {
            // Get follows
            var follows = RelationshipsManager.GetFollows();

            Assert.IsNotNull(follows);

            // unfollow the first user
            RelationshipsManager.ApproveRelationship(follows.First().Id);
        }
        public void GetFollowsAndRelationshipInfo()
        {
            try
            {
                // Get follows
                var follows = RelationshipsManager.GetFollows();
                Assert.IsNotNull(follows);

                // Get relationship info with the first user (for example)
                var relInfo = RelationshipsManager.GetRelationshipinfo(follows.First().Id);

                // Check if relationship info is correct
                Assert.IsNotNull(relInfo);
                Assert.AreEqual(OutgoingRelationshipStatus.Follows, relInfo.OutgoingRelation);
            }
            catch (Exceptions.InstagramAPICallException)
            {
                Assert.Fail("Instagram Api error.");
            }
        }