Assert the file content in key.expor..() tests
Currently, tests are only checking if the mocked open
function has been called. To make sure that the write process has been successfully executed, the file content has to be validated, too.
Currently, tests are only checking if the mocked open
function has been called. To make sure that the write process has been successfully executed, the file content has to be validated, too.