Skip to content

Instantly share code, notes, and snippets.

@carlosschults carlosschults/assert.cs Secret
Created Apr 10, 2017

Embed
What would you like to do?
Assert.That(
() => repo.FindByName(""),
Throws.TypeOf<ArgumentException>()
.With.Message.EqualTo("Name must be a non-empty string."));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.