def METHOD_NAME(self):
    """
    1) Create an env object.
    2) Create a VM and register it from env.
    3) Get the vm back from the env.
    4) Verify that the 2 objects are the same.
    """
    env = utils_env.Env(filename=self.envfilename)
    params = utils_params.Params({"main_vm": 'rhel7-migration'})
    vm1 = FakeVm(params['main_vm'], params)
    vm1.is_alive()
    env.register_vm(params['main_vm'], vm1)
    vm2 = env.get_vm(params['main_vm'])
    vm2.is_alive()
    assert vm1 == vm2