### Question:
SecurityPriceInfo implements ImmutableBean, Serializable { public static SecurityPriceInfo of(double tickSize, CurrencyAmount tickValue) { return new SecurityPriceInfo(tickSize, tickValue, 1); } @ImmutableConstructor private  SecurityPriceInfo(
      double tickSize,
      CurrencyAmount tickValue,
      double contractSize); static SecurityPriceInfo of(double tickSize, CurrencyAmount tickValue); static SecurityPriceInfo of(double tickSize, CurrencyAmount tickValue, double contractSize); static SecurityPriceInfo of(Currency currency, double tradeUnitValue); static SecurityPriceInfo ofCurrencyMinorUnit(Currency currency); @DerivedProperty Currency getCurrency(); CurrencyAmount calculateMonetaryAmount(double quantity, double price); double calculateMonetaryValue(double quantity, double price); double getTradeUnitValue(); static SecurityPriceInfo.Meta meta(); @Override SecurityPriceInfo.Meta metaBean(); double getTickSize(); CurrencyAmount getTickValue(); double getContractSize(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { SecurityPriceInfo test = SecurityPriceInfo.of(0.01, CurrencyAmount.of(GBP, 0.01)); coverImmutableBean(test); SecurityPriceInfo test2 = SecurityPriceInfo.of(0.02, CurrencyAmount.of(GBP, 1), 20); coverBeanEquals(test, test2); }
@Test public void test_serialization() { SecurityPriceInfo test = SecurityPriceInfo.of(0.01, CurrencyAmount.of(GBP, 0.01)); assertSerialization(test); }