@Test
public void testPriceToByteArray() throws Exception {

    LegacyAsset base = new LegacyAsset(115, LegacyAssetSymbolType.SBD);
    LegacyAsset quote = new LegacyAsset(100, LegacyAssetSymbolType.STEEM);
    Price price = new Price(base, quote);
    assertThat("Expect that the price object has the given byte representation.",
            CryptoUtils.HEX.encode(price.toByteArray()), equalTo(EXPECTED_BYTE_REPRESENTATION));
}