Method translating army from json to enum

It will be private so i took approach with friend tests which made me move setting gmock env to cmakelists file in src directory.