@Test
public void testGetLicenseByName() {

    SW360License license = prepareLicenseClientGetLicenseByName();
    Optional<SW360License> sw360LicenseByAntennaLicense =
            block(licenseClientAdapter.getLicenseByName(LICENSE_NAME));
    assertThat(sw360LicenseByAntennaLicense).isPresent();
    assertThat(sw360LicenseByAntennaLicense).hasValue(license);
    verify(licenseClient, atLeastOnce()).getLicenseByName(LICENSE_NAME);
}