main
1using developwithpassion.bdd.contexts;
2using Gorilla.Commons.Testing;
3
4namespace MoMoney.Domain.Core
5{
6 public class when_converting_a_valid_amount_to_a_money : concerns
7 {
8 it should_return_the_correct_money = () => result.should_be_equal_to(new Money(1, 99));
9
10 because b = () => { result = 1.99.as_money(); };
11
12 static Money result;
13 }
14}