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