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

    resourceValidator.validateName("name.name");
}