    @Test
    public void taxOnAmountInUpperTaxBracketIsSumOfLowerTaxBracketAmountAndMiddleTaxBracketAmountAndAdditionalUpperTaxBracketAmount() {

        final Payslip payslip = new Payslip(50000);
        assertEquals(40500, payslip.getNet(), 1e-6);

        final Payslip payslip2 = new Payslip(60000);
        assertEquals(46500, payslip2.getNet(), 1e-6);
    }