### Question:
PositionInfo implements PortfolioItemInfo, ImmutableBean, Serializable { public static PositionInfoBuilder builder() { return new PositionInfoBuilder(); } PositionInfo(
      StandardId id,
      Map<AttributeType<?>, Object> attributes); static PositionInfo empty(); static PositionInfo of(StandardId positionId); static PositionInfo from(PortfolioItemInfo info); static PositionInfoBuilder builder(); @Override PositionInfo withId(StandardId identifier); @Override ImmutableSet<AttributeType<?>> getAttributeTypes(); @Override Optional<T> findAttribute(AttributeType<T> type); @Override PositionInfo withAttribute(AttributeType<T> type, T value); @Override PositionInfo withAttributes(Attributes other); @Override PositionInfo combinedWith(PortfolioItemInfo other); @Override PositionInfo overrideWith(PortfolioItemInfo other); PositionInfoBuilder toBuilder(); static PositionInfo.Meta meta(); @Override PositionInfo.Meta metaBean(); @Override Optional<StandardId> getId(); ImmutableMap<AttributeType<?>, Object> getAttributes(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { PositionInfo test = PositionInfo.builder() .id(ID) .addAttribute(AttributeType.DESCRIPTION, "A") .build(); coverImmutableBean(test); PositionInfo test2 = PositionInfo.builder() .id(ID2) .build(); coverBeanEquals(test, test2); }
@Test public void test_serialization() { PositionInfo test = PositionInfo.builder() .id(ID) .addAttribute(AttributeType.DESCRIPTION, "A") .build(); assertSerialization(test); }