Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.CustTr


    @Test
    public void testFindByOrderNr() {
        List<CustTr> custTrs = custTrManager.findByOrderNr("19");
        assertNotNull(custTrs);
        assertEquals(2, custTrs.size());
        CustTr custTr = custTrs.get(0);

        assertEquals("2008.12.10", Util.SHORT_DATE_FORMAT.format(custTr
                .getDueDate()));
        assertEquals(BigDecimal.valueOf(1000.5).setScale(2), custTr
                .getInvoiceAmount().setScale(2));
        assertEquals(BigDecimal.valueOf(50).setScale(2), custTr.getRestAmount()
                .setScale(2));

    }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.CustTr

Copyright © 2018 www.massapicom. 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.