Class DummyConverterForMockito
java.lang.Object
de.hybris.platform.converters.impl.DummyConverterForMockito
- All Implemented Interfaces:
Converter<AtomicInteger,,AtomicInteger> org.springframework.core.convert.converter.Converter<AtomicInteger,AtomicInteger>
public class DummyConverterForMockito
extends Object
implements Converter<AtomicInteger,AtomicInteger>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(AtomicInteger source) Converts the source object, creating a new instance of the destination typeconvert(AtomicInteger source, AtomicInteger prototype) Convert the source object by filling the prototypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
DummyConverterForMockito
public DummyConverterForMockito()
-
-
Method Details
-
convert
Description copied from interface:ConverterConverts the source object, creating a new instance of the destination type- Specified by:
convertin interfaceConverter<AtomicInteger,AtomicInteger> - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<AtomicInteger,AtomicInteger> - Parameters:
source- the source object- Returns:
- the converted object
- Throws:
ConversionException- if an error occurs
-
convert
public AtomicInteger convert(AtomicInteger source, AtomicInteger prototype) throws ConversionException Description copied from interface:ConverterConvert the source object by filling the prototype- Specified by:
convertin interfaceConverter<AtomicInteger,AtomicInteger> - Parameters:
source- the source objectprototype- the prototype to fill- Returns:
- the converted object, identical to the prototype
- Throws:
ConversionException- if an error occurs
-