Skip to content

Instantly share code, notes, and snippets.

@follesoe
Created April 9, 2010 08:17
Show Gist options
  • Save follesoe/360981 to your computer and use it in GitHub Desktop.
Save follesoe/360981 to your computer and use it in GitHub Desktop.
public abstract class BDD<T> where T : BDD<T>
{
protected T Given { get { return (T)this; } }
protected T When { get { return (T)this; } }
protected T Then { get { return (T)this; } }
protected T And { get { return (T)this; } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment