@Test
public void should_convert_string_to_URI() throws Exception {

    // given
    URI expectedUri = new URI("http://www.arquillian.org");
    StateTypeConverter typeConverter = new StateTypeConverter();
    // when
    URI convertedUri = typeConverter.convert("http://www.arquillian.org", URI.class);
    // then
    assertThat(convertedUri).isEqualTo(expectedUri);
}