Class DummyConverterForMockito

  • All Implemented Interfaces:
    Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>, org.springframework.core.convert.converter.Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>

    public class DummyConverterForMockito
    extends java.lang.Object
    implements Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.atomic.AtomicInteger convert​(java.util.concurrent.atomic.AtomicInteger source)
      Converts the source object, creating a new instance of the destination type
      java.util.concurrent.atomic.AtomicInteger convert​(java.util.concurrent.atomic.AtomicInteger source, java.util.concurrent.atomic.AtomicInteger prototype)
      Convert the source object by filling the prototype
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.convert.converter.Converter

        andThen
    • Constructor Detail

      • DummyConverterForMockito

        public DummyConverterForMockito()
    • Method Detail

      • convert

        public java.util.concurrent.atomic.AtomicInteger convert​(java.util.concurrent.atomic.AtomicInteger source)
                                                          throws ConversionException
        Description copied from interface: Converter
        Converts the source object, creating a new instance of the destination type
        Specified by:
        convert in interface Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>
        Parameters:
        source - the source object
        Returns:
        the converted object
        Throws:
        ConversionException - if an error occurs
      • convert

        public java.util.concurrent.atomic.AtomicInteger convert​(java.util.concurrent.atomic.AtomicInteger source,
                                                                 java.util.concurrent.atomic.AtomicInteger prototype)
                                                          throws ConversionException
        Description copied from interface: Converter
        Convert the source object by filling the prototype
        Specified by:
        convert in interface Converter<java.util.concurrent.atomic.AtomicInteger,​java.util.concurrent.atomic.AtomicInteger>
        Parameters:
        source - the source object
        prototype - the prototype to fill
        Returns:
        the converted object, identical to the prototype
        Throws:
        ConversionException - if an error occurs