public void FuncNullExceptionTest() { Assert.Throws <FuncNullException>(() => lazy = LazyFactory <string> .CreateLazySingleThreaded(null)); }
public void Setup() { func = () => "test 123"; lazy = LazyFactory <string> .CreateLazySingleThreaded(func); }