1) CallEnvironment object is created without Logger
object being passed as a parameter in the constructor
2) Attributes are not added to a newly-created
CallEnvironment object so it remains empty and there is
nothing to encode at the end of the method