@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_null() {
        BaseMetabolicRate baseMetabolicRate = bmrCalculator.calculate(null);
        assertEquals(new BigDecimal("0"), baseMetabolicRate.getBMR());
    }