replaced hamcrest generator with api4j