메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
GetArguments ( IEnumerable |
||
GetOwner ( |
||
ThrowDoesNotImplementIDisposable ( |
||
ThrowDoesNotThrowObjectDisposedException ( |
||
VerifyThrowsObjectDisposedException ( IDisposable owner, |
public ObjectDisposalAssertion ( ISpecimenBuilder builder ) : System | ||
builder | ISpecimenBuilder | /// The builder to create an owner object. /// |
리턴 | System |
public Verify ( |
||
method | /// The method. /// | |
리턴 | void |
public Verify ( |
||
property | /// The property. /// | |
리턴 | void |