main
 1using System;
 2using Gorilla.Commons.Utility;
 3using Machine.Specifications;
 4
 5namespace unit.server.domain.payroll
 6{
 7    public class DateSpecs
 8    {
 9        [Subject(typeof (Date))]
10        public class when_two_dates_are_the_same
11        {
12            Establish c = () =>
13            {
14                sut = new DateTime(2009, 01, 01, 01, 00, 00);
15            };
16
17            It should_be_equal = () =>
18            {
19                sut.Equals(new DateTime(2009, 01, 01, 09, 00, 01)).should_be_true();
20            };
21
22            static Date sut;
23        }
24    }
25}