Package br.com.six2six.template

Source Code of br.com.six2six.template.ProposalTemplate

package br.com.six2six.template;

import br.com.six2six.fixturefactory.Fixture;
import br.com.six2six.fixturefactory.Rule;
import br.com.six2six.fixturefactory.loader.TemplateLoader;
import br.com.six2six.fixturefactory.model.SimpleProposal;

public class ProposalTemplate implements TemplateLoader {

  @Override
  public void load() {
    Fixture.of(SimpleProposal.class).addTemplate("valid", new Rule(){{
      add("item.order.id", "123456");
    }});
  }

}
TOP

Related Classes of br.com.six2six.template.ProposalTemplate

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.