@Test public void testInit() throws Throwable { myLog.debug( "testing init success" ); FieldConverter<Boolean> received = myClassUnderTest.init( myEnv, null ); Assert.assertTrue( myClassUnderTest == received ); }
@Override public FieldConverter<Boolean> init( Environment aEnv, String aFieldname ) throws SdiException { resolveConfiguredValues( aEnv, trueValues, KEY_TRUE_VALUES ); resolveConfiguredValues( aEnv, falseValues, KEY_FALSE_VALUES ); return this; }
ConverterBoolean implements FieldConverter<Boolean> { @Override public FieldConverter<Boolean> init( Environment aEnv, String aFieldname ) throws SdiException { resolveConfiguredValues( aEnv, trueValues, KEY_TRUE_VALUES ); resolveConfiguredValues( aEnv, falseValues, KEY_FALSE_VALUES ); return this; } }
ConverterBoolean implements FieldConverter<Boolean> { @Override public FieldConverter<Boolean> init( Environment aEnv, String aFieldname ) throws SdiException { resolveConfiguredValues( aEnv, trueValues, KEY_TRUE_VALUES ); resolveConfiguredValues( aEnv, falseValues, KEY_FALSE_VALUES ); return this; }  }
ConverterBoolean implements FieldConverter<Boolean> { @Override public FieldConverter<Boolean> init( Environment aEnv, String aFieldname ) throws SdiException { resolveConfiguredValues( aEnv, trueValues, KEY_TRUE_VALUES ); resolveConfiguredValues( aEnv, falseValues, KEY_FALSE_VALUES ); return this; }  @Override FieldConverter<Boolean> init( Environment aEnv, String aFieldname ); @Override Boolean convert( String aValue ); }
ConverterBoolean implements FieldConverter<Boolean> { @Override public FieldConverter<Boolean> init( Environment aEnv, String aFieldname ) throws SdiException { resolveConfiguredValues( aEnv, trueValues, KEY_TRUE_VALUES ); resolveConfiguredValues( aEnv, falseValues, KEY_FALSE_VALUES ); return this; }  @Override FieldConverter<Boolean> init( Environment aEnv, String aFieldname ); @Override Boolean convert( String aValue ); static final String CONVERTER_NAME; static final String KEY_TRUE_VALUES; static final String KEY_FALSE_VALUES; }