def METHOD_NAME(self, bos_op, ref_qubit_op):
    """Test mapping to qubit operator"""
    mapper = BosonicLinearMapper(max_occupation=1)
    qubit_op = mapper.map(bos_op)
    self.assertEqualSparsePauliOp(qubit_op, ref_qubit_op)