Package za.co.javajoe.domain

Examples of za.co.javajoe.domain.AgentDetails


    /**
     * Just Static Information that will carry the headings for the file.
     * @return AgentDetails Object
     */
    public static AgentDetails getAgentDetailsFileHeadings() {
        return new AgentDetails( ConfigUtil.loadConfigurations( agentDetailsConfigFileName));
    }
View Full Code Here


                }
            }

            //Map the colums to the AgentDetails using a constractor to initialize the object of AgentDetails
            AgentDetails c = new AgentDetails( bankAccountNo,
                    transactionDescription,
                    userReferenceNo,
                    transactionAmount,
                    businessDate,
                    agentID,
View Full Code Here

    @Test
    public void testGetAgentDetailsFileHeadings() throws Exception {

        assertNotNull( FileUtil.getAgentDetailsFileHeadings());

        AgentDetails agentDetails = FileUtil.getAgentDetailsFileHeadings();

        assertNotNull( agentDetails.getBankAccountNo());
        assertTrue(agentDetails.getBankAccountNo().length() > 0);

        assertNotNull(agentDetails.getTransactionDescription());
        assertTrue(agentDetails.getTransactionDescription().length() > 0);

        assertNotNull(agentDetails.getUserReferenceNo());
        assertTrue(agentDetails.getUserReferenceNo().length() > 0);

        assertNotNull(agentDetails.getTransactionAmount());
        assertTrue(agentDetails.getTransactionAmount().length() > 0);

        assertNotNull(agentDetails.getBusinessDate());
        assertTrue(agentDetails.getBusinessDate().length() > 0);

        assertNotNull(agentDetails.getAgentID());
        assertTrue(agentDetails.getAgentID().length() > 0);

        assertNotNull(agentDetails.getAgentIdentification());
        assertTrue(agentDetails.getAgentIdentification().length() > 0);

        assertNotNull(agentDetails.getAgentName());
        assertTrue(agentDetails.getAgentName().length() > 0);

        assertNotNull(agentDetails.getAgentAccountNumber());
        assertTrue( agentDetails.getAgentAccountNumber().length() > 0);

    }
View Full Code Here

TOP

Related Classes of za.co.javajoe.domain.AgentDetails

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.