Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created October 7, 2010 10:42
Show Gist options
  • Select an option

  • Save SamSaffron/614945 to your computer and use it in GitHub Desktop.

Select an option

Save SamSaffron/614945 to your computer and use it in GitHub Desktop.
[TestMethod]
public void EnsurePrimaryKeyViolationsDontExplode()
{
var user = GetPseudoMod();
dynamic exposedUser = ExposedObject.From(user);
exposedUser.NotifyAbilities(user.AbilityTypeNotifications.Select(a => a.AbilityType));
}
@badp

badp commented Oct 8, 2010

Copy link
Copy Markdown

Congrats! You have gained the "Explosion" privilege! Read more...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment