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