Introduce common directory
[yangtools.git] / mockito-configuration / src / test / java / org / mockito / configuration / DefaultAnswerTest.java
diff --git a/mockito-configuration/src/test/java/org/mockito/configuration/DefaultAnswerTest.java b/mockito-configuration/src/test/java/org/mockito/configuration/DefaultAnswerTest.java
deleted file mode 100644 (file)
index c2019ed..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.mockito.configuration;
-
-import static org.junit.Assert.*;
-
-import java.io.Closeable;
-import java.io.IOException;
-
-import org.junit.Test;
-import org.mockito.Mockito;
-
-public class DefaultAnswerTest {
-
-       @Test
-       public void testAnswering() throws IOException {
-               Closeable mock = Mockito.mock(Closeable.class);
-               try {
-                       mock.close();
-                       fail();
-               } catch (UnstubbedMethodException e) {
-                       assertEquals("closeable.close(); was not stubbed", e.getMessage());
-               }
-       }
-
-
-
-}