@Test
public void postModuleAuthFailes() throws IOException, AuthenticationException{

    Module module1 = DataModelFactory.createModule("module", "1.0.0-SNAPSHOT");
    Exception exception = null;
    try{
        client.postModule(module1, null, null);
    }catch (Exception e) {
        exception = e;
    }
    assertNotNull(exception);
}