@Test
public void setUrlThrowsIfLimitExited() throws Exception {

    Company company = new Company();
    try {
        company.url(leftPad("longUrl", Company.LIMIT_URL + 1, '*'));
        fail();
    } catch (IllegalArgumentException e) {
        assertThat(e.getMessage()).isEqualTo("Argument Url too long. "
              + Company.LIMIT_URL
              + " characters is the maximum.");
    }
}