use of com.canoo.dp.impl.remoting.Converters in project dolphin-platform by canoo.
the class ZonedDateTimeConverterFactoryTest method testWrongDolphinValues.
@Test(expectedExceptions = ClassCastException.class)
public void testWrongDolphinValues(@Mocked BeanRepository beanRepository) throws ValueConverterException {
// Given
Converters converters = new Converters(beanRepository);
// When
Converter converter = converters.getConverter(ZonedDateTime.class);
// Then
converter.convertFromDolphin(7);
}
Aggregations