Method | Description | |
---|---|---|
ObjectDisposalAssertion ( ISpecimenBuilder builder ) : System |
Initializes a new instance of the ObjectDisposalAssertion class.
|
|
Verify ( |
Verifies that a method throws ObjectDisposedException after its owner(object) is disposed.
|
|
Verify ( |
Verifies that a property throws ObjectDisposedException after its owner(object) is disposed.
|
Method | Description | |
---|---|---|
GetArguments ( IEnumerable |
||
GetOwner ( |
||
ThrowDoesNotImplementIDisposable ( |
||
ThrowDoesNotThrowObjectDisposedException ( |
||
VerifyThrowsObjectDisposedException ( IDisposable owner, |
public ObjectDisposalAssertion ( ISpecimenBuilder builder ) : System | ||
builder | ISpecimenBuilder | /// The builder to create an owner object. /// |
return | System |
public Verify ( |
||
method | /// The method. /// | |
return | void |
public Verify ( |
||
property | /// The property. /// | |
return | void |