/** calcualte exemptions for the metro area. */
 @Test
 public void testGetNetExemptionsForMetroArea() {
   salaryDetails.setMetroArea(true);
   ExemptionCalculator calculator = new ExemptionCalculator(salaryDetails);
   assertEquals(134200, calculator.getNetExemptions(), 0.0);
 }
 @Before
 public void setUp() throws Exception {
   salaryDetails = new SalaryDetails();
   salaryDetails.setBasic(200000);
   salaryDetails.setCarAllowance(96000);
   salaryDetails.setConveyanceAlloeance(19200);
   salaryDetails.setEmployerContributionToPf(36000);
   salaryDetails.setFestivalAllowance(5000);
   salaryDetails.setHouseRent(120000);
   salaryDetails.setHouseRentAllowance(120000);
   salaryDetails.setLta(50000);
   salaryDetails.setMedical(15000);
   salaryDetails.setMetroArea(false);
   salaryDetails.setSpecialAllowance(400000);
 }