KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > easymock > internal > NiceBehavior


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 JavaDoc;
8
9 public class NiceBehavior extends UnorderedBehavior {
10     protected Result returnValueForUnexpected(Method JavaDoc method) {
11         return Result.createReturnResult(RecordState.emptyReturnValueFor(method
12                 .getReturnType()));
13     }
14 }
15
Popular Tags