Свойство | Type | Description | |
---|---|---|---|
_mockery | Rhino.Mocks.MockRepository |
Méthode | Description | |
---|---|---|
Act ( ) : void |
Exercise the object under test. Only one object/operation should be tested per class. To control the potential explosion of classes in Visual Studio's Solution Explorer, it could be beneficial to create an outer class for each object, and then an inner class for each operation. |
|
After ( ) : void |
Tidies up after each test. No test should leave artifacts behind which may affect other tests, especially tests which use a persistence store, such as a database.
|
|
Arrange ( ) : void |
Sets up the context for the tests. Any initialisation of data should take place here.
|
Méthode | Description | |
---|---|---|
Setup ( ) : void | ||
Teardown ( ) : void |