public void CanPopulateThrowsExceptionWithNullTypeTest() { var target = new EnumerableTypeCreator(); Action action = () => target.CanPopulate(null, null, null); action.ShouldThrow<ArgumentNullException>(); }