Class AbstractConverterUnitTest


  • @UnitTest
    public class AbstractConverterUnitTest
    extends java.lang.Object
    For testing AbstractConverter, especially it's optimizations for injected beans and collection conversion.
    • Constructor Detail

      • AbstractConverterUnitTest

        public AbstractConverterUnitTest()
    • Method Detail

      • setUp

        public void setUp()
      • testMockitoVsConverterSanityCheck

        public void testMockitoVsConverterSanityCheck()
      • testMockitoVsConverters

        public void testMockitoVsConverters()
      • testUsingBean

        public void testUsingBean()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUsingInjectedClass

        public void testUsingInjectedClass()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testBeanSetupErrors

        public void testBeanSetupErrors()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • emptyCollectionConvertAll

        public void emptyCollectionConvertAll()
      • testConvertAll

        public void testConvertAll()
      • testConvertAllIgnoreExceptions

        public void testConvertAllIgnoreExceptions()
      • testConvertAllThrowingException

        public void testConvertAllThrowingException()
      • testConvertAllIgnoringThrownExceptions

        public void testConvertAllIgnoringThrownExceptions()