|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| NiceBehavior.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | /* | |
| 2 | * Copyright (c) 2001-2005 OFFIS. This program is made available under the terms of | |
| 3 | * the MIT License. | |
| 4 | */ | |
| 5 | package org.easymock.internal; | |
| 6 | ||
| 7 | import java.lang.reflect.Method; | |
| 8 | ||
| 9 | public class NiceBehavior extends UnorderedBehavior { | |
| 10 | 9 | protected Result returnValueForUnexpected(Method method) { |
| 11 | 9 | return Result.createReturnResult(RecordState.emptyReturnValueFor(method |
| 12 | .getReturnType())); | |
| 13 | } | |
| 14 | } |
|
||||||||||