/**
 * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.financial.fudgemsg;

import static org.testng.AssertJUnit.assertEquals;

import org.testng.annotations.Test;

import com.opengamma.financial.security.equity.EquitySecurity;
import com.opengamma.util.money.Currency;

/**
 * Test EquitySecurity Fudge support.
 */
public class EquitySecurityFudgeEncodingTest extends FinancialTestBase {

  private static final EquitySecurity s_ref = new EquitySecurity("A", "B", "C", Currency.USD);

  @Test
  public void testCycle() {
    assertEquals(s_ref, cycleObject(EquitySecurity.class, s_ref));
  }

}

Test for EquitySecurity