code: @Override
    @Beta
    public <T> T Stub(Class<T> type) {
      invalidMockCreation();
      return null;
    }
docs: Creates a stub with the specified type. If enclosed in a variable assignment, the variable name will be
  used as the stub's name.
  
  Example:
  
  <pre>
  def person = Stub(Person) // type is Person.class, name is "person"
  </pre>
  
  @param type the interface or class type of the stub
  @param <T> the interface or class type of the stub
  
  @return a stub with the specified type