This project is read-only.

Trace the "And" initialization

Dec 17, 2012 at 10:57 AM

Hi, if I try to use the following initialization:

GivenThat<FakeAdapterIsCreated>()
   .And<Right2007CredentialsAreCreated>()
   .And<Right2007UrlIsCreated>()
   .And<FakeAdapterIsSetFor2007Connection>()
.When<MailAdapterTryToConnect>()
.Then<ShouldBeTrue>();

The expected trace is a little bit different:

'Factory initialized return mail service'
Given that fake adapter is created
when factory creates mail service
then mail service should not be null

It is not tracing the "And" initializers for somehow.
Do you have a fixture for it that you can commit to Codeplex? It would be very helpful.