@Test
public void doesNotAllowCompanyNames() {

    IllegalArgumentException thrown = Assertions.assertThrows(IllegalArgumentException.class, () ->
        SdkServiceIdValidator.validateServiceId("AWS Foo"));
    assertThat(thrown.getMessage(), containsString("company names"));
}