private CreateThrowsExceptionWhenNotInitializedTest ( ) : void | ||
Résultat | void |
public void CreateThrowsExceptionWhenNotInitializedTest()
{
var target = new DefaultExecuteStrategy();
Action action = () => target.Create(typeof(Person));
action.ShouldThrow<InvalidOperationException>();
}