Package br.com.six2six.fixturefactory

Source Code of br.com.six2six.fixturefactory.FixtureXMLTransactionTest

package br.com.six2six.fixturefactory;

import static junit.framework.Assert.assertNotNull;

import org.junit.BeforeClass;
import org.junit.Test;

import br.com.six2six.fixturefactory.loader.FixtureFactoryLoader;
import br.com.six2six.fixturefactory.model.XMLTransaction;

public class FixtureXMLTransactionTest {

  @BeforeClass
  public static void setUp() {
    FixtureFactoryLoader.loadTemplates("br.com.six2six.template");
  }

  @Test
  public void fixtureValidTransaction() {
    XMLTransaction transaction = Fixture.from(XMLTransaction.class).gimme("validTransaction");
    assertNotNull("User should not be null", transaction);
  }
 
}
TOP

Related Classes of br.com.six2six.fixturefactory.FixtureXMLTransactionTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.