|
1 |
| package com.agical.rmock.core.expectation; |
|
2 |
| |
|
3 |
| import com.agical.rmock.core.exception.UnsatisfiedDependencySystemException; |
|
4 |
| |
|
5 |
| |
|
6 |
| |
|
7 |
| |
|
8 |
| |
|
9 |
| |
|
10 |
| |
|
11 |
| public interface ExpectationsState { |
|
12 |
| |
|
13 |
| ExpectationsState NULL = new ExpectationsState() { |
|
14 |
| |
|
15 |
1
| public boolean isInSetupState() {
|
|
16 |
1
| throw new UnsatisfiedDependencySystemException(ExpectationsState.class);
|
|
17 |
| } |
|
18 |
| |
|
19 |
1
| public boolean isInVerifyState() {
|
|
20 |
1
| throw new UnsatisfiedDependencySystemException(ExpectationsState.class);
|
|
21 |
| } |
|
22 |
| |
|
23 |
| }; |
|
24 |
| |
|
25 |
| boolean isInSetupState(); |
|
26 |
| |
|
27 |
| boolean isInVerifyState(); |
|
28 |
| |
|
29 |
| } |