Skip to content

Instantly share code, notes, and snippets.

@blairconrad
Created September 15, 2018 23:06
Show Gist options
  • Select an option

  • Save blairconrad/38b6b297751609e3512cab17346b90d2 to your computer and use it in GitHub Desktop.

Select an option

Save blairconrad/38b6b297751609e3512cab17346b90d2 to your computer and use it in GitHub Desktop.
5413,5438d5412
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidException() [03] When a non-void method is called on the wrapper
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidException() [04] Then the real object's method is called
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidException() [05] And the wrapper throws the exception thrown by the real object's method
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidException() [06] And the exception stack trace is preserved
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidSuccess() [01] Given a real object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidSuccess() [02] And a fake wrapping this object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidSuccess() [03] When a non-void method is called on the wrapper
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidSuccess() [04] Then the real object's method is called
< Passed FakeItEasy.Specs.WrappingFakeSpecs.NonVoidSuccess() [05] And the wrapper returns the value returned by the real object's method
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [01] Given a real object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [02] And a fake wrapping this object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [03] And a @ref variable with an initial value of 1
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [04] When a method with out and ref parameters is called on the wrapper
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [05] Then the real object's method is called
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [06] And the value of @ref is incremented
< Passed FakeItEasy.Specs.WrappingFakeSpecs.OutAndRef() [07] And the value of @out is set
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [01] Given a real object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [02] And a fake wrapping this object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [03] When a void method is called on the wrapper
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [04] Then the real object's method is called
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [05] And the wrapper throws the exception thrown by the real object's method
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidException() [06] And the exception stack trace is preserved
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidSuccess() [01] Given a real object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidSuccess() [02] And a fake wrapping this object
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidSuccess() [03] When a void method is called on the wrapper
< Passed FakeItEasy.Specs.WrappingFakeSpecs.VoidSuccess() [04] Then the real object's method is called
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment