def METHOD_NAME(self):
    """Test for getting the gate duration."""
    self.assertEqual(
        self.properties.gate_length(self.ref_gate, 1),
        self.properties._gates[self.ref_gate][(1,)]["gate_length"][0],
    )
    self.assertEqual(
        self.properties.gate_length("cx", [4, 3]),
        self.properties._gates["cx"][(4, 3)]["gate_length"][0],
    )