fix BonitaRestAPIFactoryTest

Conflicts:
	server/src/test/java/org/bonitasoft/web/rest/server/BonitaRestAPIFactoryTest.java