public void PopulateThrowsExceptionWithNullInstanceTest() { var strategy = Substitute.For<IExecuteStrategy>(); var target = new ArrayTypeCreator(); Action action = () => target.Populate(null, strategy); action.ShouldThrow<ArgumentNullException>(); }