@Test
public void moduleWithNameEmptyIsNotValid(){

    final Module module = DataModelFactory.createModule("", "version");
    WebApplicationException exception = null;
    try{
        DataValidator.validate(module);
    }
    catch (WebApplicationException e){
        exception = e;
    }
    assertNotNull(exception);
}