private PopulateThrowsExceptionWithNullInstanceTest ( ) : void | ||
Résultat | void |
public void PopulateThrowsExceptionWithNullInstanceTest()
{
var target = new DefaultExecuteStrategy();
Action action = () => target.Populate(null);
action.ShouldThrow<ArgumentNullException>();
}