@Test
public void testUpdateComponentInvalid() {

    try {
        block(componentClientAdapter.updateComponent(component));
        fail("Invalid component not detected.");
    } catch (SW360ClientException e) {
        assertThat(e.getCause()).isInstanceOf(IllegalArgumentException.class);
    }
}