concise
v2.0.5
1. Installation
2. Writing Tests
3. Assertions
4. Running Tests
5. Mocking
5.1. Creating Mocks
5.2. Verifying Mocks
5.3. Exposing
5.4. Stubbing
5.5. Expectations
5.6. Actions
5.7. Properties
5.8. Limitations
6. Syntaxes
7. Modules
8. Extending Concise
9. Changelog
concise
Docs
»
5. Mocking
Edit on GitHub
5. Mocking
ΒΆ
5.1. Creating Mocks
5.1.1. Normal Mocks
5.1.2. Nice Mocks
5.1.3. Partial Mocks
5.1.4. Constructors
5.1.5. Programmatically Building Mocks
5.1.6. Changing the Class Name and Namespace of a Mock
5.2. Verifying Mocks
5.2.1. Manually Verifying Mocks
5.3. Exposing
5.3.1. Methods
5.3.2. All Methods
5.3.3. Properties
5.4. Stubbing
5.4.1. Setting the Same Actions on Multiple Methods
5.5. Expectations
5.5.1. Setting the Same Expectations on Multiple Methods
5.5.2. Expecting Arguments
5.5.3. Ignoring Parameter Values
5.6. Actions
5.6.1. andDo(callback)
5.6.2. andReturn(value)
5.6.3. andReturnCallback(callback)
5.6.4. andReturnProperty(propertyName)
5.6.5. andReturnSelf()
5.6.6. andThrowException(exception)
5.7. Properties
5.7.1. Setting a Single Property
5.7.2. Setting Multiple Properties
5.7.3. Other Information
5.8. Limitations
5.8.1. Traits
5.8.2. Final Classes and Methods
Read the Docs
v: v2.0.5
Versions
latest
stable
dev
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.