@Test
public void should_convert_string_to_boolean() throws Exception {

    // given
    StateTypeConverter typeConverter = new StateTypeConverter();
    // when
    Boolean convertedBoolen = typeConverter.convert("True", Boolean.class);
    // then
    assertThat(convertedBoolen).isTrue();
}