@Test
public void shouldConvertStringToEntityAttribute() throws JsonProcessingException {

    final ComponentSourceConverter converter = new ComponentSourceConverter();
    final ComponentSource componentSource = converter.convertToEntityAttribute(sourceString);
    assertEquals(new ObjectMapper().writeValueAsString(componentSource), sourceString);
}