Beispiel #1
0
            public When_a_contract_is_active()
            {
                Given(async() =>
                {
                    await A.Country("Netherlands").Was.RegisteredAs(countryCode);
                    await A.Contract("123").OfKind("Filming").InCountry(countryCode).Was.Negotiated();
                    await The.Contract("123").Was.ApprovedForThePeriod(1.January(2016), DateTime.Now.Add(1.Days()));
                });

                When(async() =>
                {
                    await The.Contract("123").Is.TransitionedTo("Active");
                });
            }