def METHOD_NAME(self):
    configurations = {"Mirror up": {"pole_pos": (458, 519),  "focus_dist": 0.5e-3},
                      "Mirror down": {"pole_pos": (634, 652),  "focus_dist": -0.5e-3}}
    comp = static.OpticalLens("test", "lens", 1, pole_pos=(458, 519),  focus_dist=0.5e-3,
                              configurations=configurations)
    self.assertEqual(comp.configuration.choices, set(configurations))
    #check the default configuration is "Mirror up"
    self.assertEqual(comp.configuration.value, "Mirror up")
    #change the configuration to "Mirror down" and check that the VAs that correspond to the attribute names are updated
    comp.configuration.value = "Mirror down"
    conf = configurations["Mirror down"]
    self.assertEqual(comp.polePosition.value, conf["pole_pos"])
    self.assertEqual(comp.focusDistance.value, conf["focus_dist"])
    comp.configuration.value = "Mirror up"
    conf = configurations["Mirror up"]
    self.assertEqual(comp.polePosition.value, conf["pole_pos"])
    self.assertEqual(comp.focusDistance.value, conf["focus_dist"])
    comp.terminate()