main
 1using System.Data;
 2using gorilla.commons.utility;
 3
 4namespace tests.unit.commons.utility
 5{
 6    public class ConfigurationExtensionsSpecs
 7    {
 8        public class when_configuring_an_item : concerns
 9        {
10            it should_return_the_item_that_was_configured_when_completed = () => result.should_be_equal_to(item);
11
12            context c = () =>
13            {
14                configuration = an<Configuration<IDbCommand>>();
15                item = an<IDbCommand>();
16            };
17
18            because b = () =>
19            {
20                result = item.and_configure_with(configuration);
21            };
22
23            static Configuration<IDbCommand> configuration;
24            static IDbCommand item;
25            static IDbCommand result;
26        }
27    }
28}