Package de.olivergierke.whoops.equities

Examples of de.olivergierke.whoops.equities.Equity


  @Autowired DealProcessor processor;

  @Test
  public void processesEquities() {

    Deal deal = new Deal(new Equity("Deutsche Bank"));

    Result result = processor.process(deal);
    assertThat(result.getFee(), is(new BigDecimal(10.5)));
  }
View Full Code Here


  @Autowired DealProcessor processor;

  @Test
  public void processesEquities() {

    Deal deal = new Deal(new Equity("Deutsche Bank"));

    Result result = processor.process(deal);
    assertThat(result.getFee(), is(new BigDecimal(10.5)));
  }
View Full Code Here

  }

  @Test
  public void vmWareEquitiesIsFree() {

    Deal deal = new Deal(new Equity("VMware"));
    Result result = processor.process(deal);

    assertThat(result.getFee(), is(BigDecimal.ZERO));
  }
View Full Code Here

TOP

Related Classes of de.olivergierke.whoops.equities.Equity

Copyright © 2018 www.massapicom. 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.