@Test(expected = InvalidEntityException.class)
public void shouldValidateNameTooLong() throws AlreadyExistEntityException, InvalidEntityException {

    resourceValidator.validateName("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
}