@Test(expected = IllegalArgumentException.class)
public void should_throw_exception_for_unsupported_type() throws Exception {

    // given
    StateTypeConverter typeConverter = new StateTypeConverter();
    // when
    typeConverter.convert("typeConverter", StateTypeConverter.class);
    // then
    // exception should be thrown
}