public void SetLengthTest() { PipeStream target = new PipeStream(); // TODO: Initialize to an appropriate value long value = 0; // TODO: Initialize to an appropriate value target.SetLength(value); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void SetLengthShouldThrowNotSupportedException() { var target = new PipeStream(); try { target.SetLength(1); Assert.Fail(); } catch (NotSupportedException) { } }