@Test
  public void testGetterAndSetter() {
    stockImpl.setSymbol(FOUR_CHARACTER_ALPHABETIC_SYMBOL);
    stockImpl.setParValue(POSITIVE_NON_INTEGER_BIG_DECIMAL);
    stockImpl.setLastAnnualDividend(POSITIVE_NON_INTEGER_BIG_DECIMAL);

    assertEquals(FOUR_CHARACTER_ALPHABETIC_SYMBOL, stockImpl.getSymbol());
    assertEquals(POSITIVE_NON_INTEGER_BIG_DECIMAL, stockImpl.getParValue());
    assertEquals(POSITIVE_NON_INTEGER_BIG_DECIMAL, stockImpl.getLastAnnualDividend());
    assertEquals(EMPTY_TRANSACTION_LIST, stockImpl.getTransactions());

    stockImpl.setParValue(POSITIVE_NON_INTEGER_WITH_TEN_DIGITS_PRECISION);
    stockImpl.setLastAnnualDividend(POSITIVE_NON_INTEGER_WITH_TEN_DIGITS_PRECISION);

    assertEquals(
        0,
        POSITIVE_NON_INTEGER_WITH_TEN_DIGITS_PRECISION
            .setScale(BIG_DECIMAL_SCALE, ROUNDING_MODE)
            .compareTo(stockImpl.getLastAnnualDividend()));
    assertEquals(
        0,
        POSITIVE_NON_INTEGER_WITH_TEN_DIGITS_PRECISION
            .setScale(BIG_DECIMAL_SCALE, ROUNDING_MODE)
            .compareTo(stockImpl.getParValue()));
  }