@Test
public void testAssetEqualsMethod() {

    LegacyAsset asset = new LegacyAsset(115, LegacyAssetSymbolType.SBD);
    LegacyAsset sameAsset = new LegacyAsset(new BigDecimal("0.115"), LegacyAssetSymbolType.SBD);
    LegacyAsset differentAsset = new LegacyAsset(100, LegacyAssetSymbolType.STEEM);
    assertThat(asset.equals(sameAsset), equalTo(true));
    assertThat(sameAsset.equals(differentAsset), equalTo(false));
}