Skip to content

Instantly share code, notes, and snippets.

@SamSaffron
Created October 7, 2010 10:42
Show Gist options
  • Save SamSaffron/614945 to your computer and use it in GitHub Desktop.
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
Copy link

badp commented Oct 8, 2010

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