@Test
public void testGetLastIndexOfSelfLinkNullHRef() {

    Self self = new Self();
    Optional<String> optId = SW360HalResourceUtility.getLastIndexOfSelfLink(self);
    assertThat(optId).isNotPresent();
}