Assume you have the following JavaDoc for a method: /** * Ca…
Assume you have the following JavaDoc for a method: /** * Calculates shipping cost based on weight and destination. * * – weight must be positive, otherwise throws IllegalArgumentException * – zone must be “DOMESTIC”, “INTERNATIONAL”, or “EXPRESS” * – Base rates: * – 0-5 lbs: DOMESTIC $5, INTERNATIONAL $15, EXPRESS $25 * – 6-20 lbs: DOMESTIC $10, INTERNATIONAL $30, EXPRESS $50 * – 21+ lbs: DOMESTIC $20, INTERNATIONAL $60, EXPRESS $100 * * @param weight package weight in pounds * @param zone shipping zone * @return shipping cost */ public double calculateShippingCost(double weight, String zone); For the above example you should do a detailed Black-box test design. Create Equivalence Partitions and do a Boundary Value analysis – describe. Taking these into account design at least 6 test cases that you think are most important based on your partitions (I do not want Java code here, I want your test description). Make sure you mention the partitions and/or BV in the test cases you design. Then write one Unit Test (the syntax does not have to be 100% correct but should of course be in Java).