Ejemplo n.º 1
0
 public void ReadToEndTest()
 {
     FeatureSheet target = new FeatureSheet(); // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     // TODO: Sheet parameter must be set
     CommonTestMethod.DisableDebugAsserts();
     try
     {
         actual = target.ReadToEnd();
         Assert.Fail("ReadToEnd returned when Sheet not set!");
     }
     catch (Exception e)
     {
         NullReferenceException expectedException = new NullReferenceException();
         Assert.AreEqual(expectedException.GetType(), e.GetType());
     }
     finally
     {
         CommonTestMethod.EnableDebugAsserts();
     }
 }