private CreateWithThrowsExceptionWhenNotInitializedTest ( ) : void | ||
리턴 | void |
public void CreateWithThrowsExceptionWhenNotInitializedTest()
{
var target = new DefaultExecuteStrategy();
Action action = () => target.CreateWith(typeof(Person));
action.ShouldThrow<InvalidOperationException>();
}