Skip to content

Instantly share code, notes, and snippets.

@derekgreer
Created March 5, 2012 21:33
Show Gist options
  • Save derekgreer/1981240 to your computer and use it in GitHub Desktop.
Save derekgreer/1981240 to your computer and use it in GitHub Desktop.
Assertion First Example
[Integration]
[Subject(typeof (RabbitBus))]
public class when_subscribing_to_receive_a_message_type_without_an_explicit_subscription_registration
{
Establish context;
Because of;
It should_subscribe_with_the_default_registration_conventions = () => _actualMessage.ShouldEqual(_expectedMessage);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment