|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| LastExpectationProvider.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | package com.agical.rmock.core.expectation.modification; | |
| 2 | ||
| 3 | import com.agical.rmock.core.exception.UnsatisfiedDependencySystemException; | |
| 4 | ||
| 5 | ||
| 6 | /** | |
| 7 | * Interface used to access the last recorded invocation. | |
| 8 | * <br /> | |
| 9 | * <br /> | |
| 10 | * (c) 2005 Agical AB | |
| 11 | * @author joakim.ohlrogge | |
| 12 | */ | |
| 13 | public interface LastExpectationProvider { | |
| 14 | LastExpectationProvider NULL = new LastExpectationProvider () { | |
| 15 | ||
| 16 | 1 | public ModifiableExpectation getLastExpectation() { |
| 17 | 1 | throw new UnsatisfiedDependencySystemException(LastExpectationProvider.class); |
| 18 | } | |
| 19 | }; | |
| 20 | ||
| 21 | ModifiableExpectation getLastExpectation(); | |
| 22 | } |
|
||||||||||