Package com.datasift.client.core

Examples of com.datasift.client.core.Balance.credit()


    @Test
    public void testIfUserCanCalculateBalance() {
        Balance balance = datasift.balance().sync();
        assertTrue(balance.isSuccessful());

        assertEquals(balance.credit(), credit, 0.00000001);
        assertEquals(balance.pricePlan(), plan);
        assertEquals(balance.remainingDpus(), remaining_dpus, 0.00000001);
    }

    @After
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.