##General comments This program uses static map with prices and iterates over the basket to calculate overall price. If unknown basket item is found, exception is thrown.
##Pre-requirements
- Java 8
- Maven 3.3
##Building application To build application with tests, execute: 'mvn clean install'.
To generate javadocs use: 'mvn javadoc:javadoc' command
##Running application and tests
There are two wais to run application from command line:
- By passing filename with basket products: java -jar target/RBC-1.0-SNAPSHOT.jar -f test.txt
- By passing list of products: java -jar target/RBC-1.0-SNAPSHOT.jar Bananas Oranges