main
1using developwithpassion.bdd.contexts;
2using Gorilla.Commons.Testing;
3
4namespace momoney.database.transactions
5{
6 public class SessionFactorySpecs
7 {
8 [Concern(typeof (SessionFactory))]
9 public class when_creating_a_new_session : concerns_for<ISessionFactory, SessionFactory>
10 {
11 it should_return_a_new_session = () => result.should_not_be_null();
12
13 because b = () =>
14 {
15 result = sut.create();
16 };
17
18 static ISession result;
19 }
20 }
21}