code: @CheckReturnValue
      public static <T> T mock(Class<T> classToMock, Answer defaultAnswer) {
          return mock(classToMock, withSettings().defaultAnswer(defaultAnswer));
      }
docs: Creates mock with a specified strategy for its answers to interactions.
  It's quite an advanced feature and typically you don't need it to write decent tests.
  However it can be helpful when working with legacy systems.
  <p>
  It is the default answer so it will be used <b>only when you don't</b> stub the method call.
  
  <pre class="code"><code class="java">
  Foo mock = mock(Foo.class, RETURNS_SMART_NULLS);
  Foo mockTwo = mock(Foo.class, new YourOwnAnswer());
  </code></pre>
  
  <p>See examples in javadoc for {@link Mockito} class</p>
  
  @param classToMock class or interface to mock
  @param defaultAnswer default answer for unstubbed methods
  
  @return mock object