def METHOD_NAME(self):
    """
    1) Create an env object.
    2) Create 2 vms and register them in the env.
    3) Create a SyncListenServer and register it in the env.
    4) Verify that the 2 vms are in the output of get_all_vms.
    5) Verify that the sync server is not in the output of get_all_vms.
    """
    env = utils_env.Env(filename=self.envfilename)
    params = utils_params.Params({"main_vm": 'rhel7-migration'})
    vm1 = FakeVm(params['main_vm'], params)
    vm1.is_alive()
    vm2 = FakeVm('vm2', params)
    vm2.is_alive()
    env.register_vm(params['main_vm'], vm1)
    env.register_vm('vm2', vm2)
    sync1 = FakeSyncListenServer(port=333)
    env.register_syncserver(333, sync1)
    assert vm1 in env.get_all_vms()
    assert vm2 in env.get_all_vms()
    assert sync1 not in env.get_all_vms()