main
1using Machine.Specifications;
2using solidware.financials.messages;
3using solidware.financials.service.handlers;
4
5namespace specs.integration.service.handlers
6{
7 public class GoogleLookupServiceSpecs
8 {
9 public class when_looking_up_a_stock_price_from_google
10 {
11 Establish context = () =>
12 {
13 sut = new GoogleLookupService();
14 };
15
16 Because of = () =>
17 {
18 result = sut.FindPriceFor("ARX.TO");
19 };
20
21 It should_not_blow_up = () =>
22 {
23 result.Price.should_be_greater_than(0m);
24 };
25
26 static GoogleLookupService sut;
27 static CurrentStockPrice result;
28 }
29 }
30}