    @Test
    public void testQueryRefundStatusAsyncTestMode() throws Exception {

        BeeCloud.setSandbox(true);

        query.queryRefundStatusAsync(BCReqParams.BCChannelTypes.WX,
                "refundnum",
                new BCCallback() {
                    @Override
                    public void done(BCResult result) {
                        Assert.assertTrue(result instanceof BCRefundStatus);

                        BCRefundStatus status = (BCRefundStatus) result;

                        Assert.assertEquals(BCRestfulCommonResult.APP_INNER_FAIL_NUM,
                                status.getResultCode());
                        Assert.assertEquals("该功能暂不支持测试模式",
                                status.getErrDetail());

                        BeeCloud.setSandbox(false);
                        latch.countDown();
                    }
                });

        latch.await(2000, TimeUnit.MILLISECONDS);
    }