mocking codecs in spock unit test for license generator