code: private Object newDeepStubMock(GenericMetadataSupport returnTypeGenericMetadata, Object parentMock) {
          MockCreationSettings parentMockSettings = MockUtil.getMockSettings(parentMock);
          return mockitoCore().mock(
              returnTypeGenericMetadata.rawType(),
              withSettingsUsing(returnTypeGenericMetadata, parentMockSettings)
                                   );
      }
docs: Creates a mock using the Generics Metadata.
  
  <li>Finally as we want to mock the actual type, but we want to pass along the contextual generics meta-data
  that was resolved for the current return type, for this to happen we associate to the mock an new instance of
  {@link ReturnsDeepStubs} answer in which we will store the returned type generic metadata.
  
  @param returnTypeGenericMetadata The metadata to use to create the new mock.
  @param parentMock                The parent of the current deep stub mock.
  @return The mock