@Override
    public BaseMetabolicRate calculate(BMRAttributes bmrAttributes) {
        if(bmrAttributes == null) return new BaseMetabolicRate(BigDecimal.valueOf(0));
        if (bmrAttributes.getGender() == Gender.MALE)
            return calculateUsingMaleEquation(bmrAttributes);
        else return calculateUsingFemaleEquation(bmrAttributes);
    }
@Test
    void calculate_female() {
        BMRAttributes attributes = BMRAttributes.builder()
                .bodyWeightInKg(BigDecimal.valueOf(60))
                .heightInCm(BigDecimal.valueOf(164))
                .age(BigDecimal.valueOf(30))
                .gender(Gender.FEMALE)
                .build();

        BaseMetabolicRate baseMetabolicRate = bmrCalculator.calculate(attributes);
        assertEquals(new BigDecimal("1314.00"), baseMetabolicRate.getBMR());
    }