Skip to content

Commit 2ed772e

Browse files
committed
Try to add stylesheet
1 parent c195433 commit 2ed772e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/assets/css/style.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
strong {
2+
color:#b5e853
3+
}

docs/guide/methods.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
# Methods
22

3-
## Introduction
3+
Start by creating a mock of the interface or class you want to mock.
44

55
```csharp
66
var mockVersionLibrary = Mock.IVersionLibrary(config => config.
77
[Your mock setup here]
88
);
99
```
10+
Please note
1011

11-
- MiniMock allows you to intercept method calls and specify the return value, throw an exception, or return multiple values for a method.
1212
- Multiple specifications for a method will overwrite each other with the last one taking precedence.
13-
- Specifying the Call which calls a lambda expression or local function offers the most flexibility and control.
14-
- A set of quality of life methods are available for common scenarios like returning a fixed values, throwing exceptions, or returning multiple values.
15-
- Async methods are supported by the common scenarios but also supports specifying the return value or values without the Task.
16-
- Overloaded methods can be specified by using the call parameter to specify the return value for a specific overload.
17-
- The "call", "returns", "returnValues" and "throws" parameter-names can be omitted but makes the code more readable.
13+
- Parameter-names can be omitted but makes the code more readable.
1814
- Any method that is not explicitly specified will throw a `InvalidOperationException` when called.
1915

2016
## Common scenarios

0 commit comments

Comments
 (0)