private CreateThrowsExceptionWithNullInstanceTypeTest ( ) : void | ||
Résultat | void |
public void CreateThrowsExceptionWithNullInstanceTypeTest()
{
var target = Substitute.For<IExecuteStrategy>();
Action action = () => target.Create(null);
action.ShouldThrow<ArgumentNullException>();
}