Code example for DefaultFormattingConversionService

0
 *  
 * @author Oliver Gierke 
 */ 
public class ConvertingPropertyAccessorUnitTests { 
 
	static final ConversionService CONVERSION_SERVICE = new DefaultFormattingConversionService();
 
	/** 
	 * @see DATACMNS-596 
	 */ 
	@Test(expected = IllegalArgumentException.class)
	public void rejectsNullPropertyAccessorDelegate() { 
		new ConvertingPropertyAccessor(null, CONVERSION_SERVICE);
	} 
 
	/** 
	 * @see DATACMNS-596 
	 */ 
	@Test(expected = IllegalArgumentException.class)
	public void rejectsNullConversionService() { 
Experience pair programming with AI  Get Codota for Java