Update DataObjectStep class hierarchy
[yangtools.git] / common / mockito-configuration / src / main / java / org / mockito / configuration / MockitoConfiguration.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.mockito.configuration;
9
10 import org.mockito.stubbing.Answer;
11 import org.opendaylight.mockito.MoreAnswers;
12
13 /**
14  * Configuration customization for Mockito. Change default answer to  {@link MoreAnswers#THROWS_UNSTUBBED_METHOD}.
15  */
16 public class MockitoConfiguration extends DefaultMockitoConfiguration {
17     /**
18      * Default constructor.
19      */
20     public MockitoConfiguration() {
21         // Nothing else
22     }
23
24     @Override
25     public Answer<Object> getDefaultAnswer() {
26         return MoreAnswers.THROWS_UNSTUBBED_METHOD;
27     }
28 }