예제 #1
0
        public void It_should_return_a_users_full_account_info()
        {
            // arrange
            var userService = new DwollaUserService();

            // act
            DwollaResponse <DwollaUser> response = userService.GetFullAccount(TestOAuthToken);

            // assert
            response.Success.ShouldBeTrue();
        }
예제 #2
0
        public void It_should_return_a_users_basic_account_info()
        {
            // arrange
            var    userService = new DwollaUserService();
            string userId      = "812-608-0250";

            // act
            DwollaResponse <DwollaUser> response = userService.GetBasicAccount(userId, TestAppKey, TestAppSecret);

            // assert
            response.Success.ShouldBeTrue();
        }