def METHOD_NAME(self):
    """Test accessing the resource info."""
    rinfo = self.instr.resource_info
    assert rinfo.interface_type == getattr(
        InterfaceType, self.rname.interface_type.lower()
    )
    assert rinfo.interface_board_number == int(self.rname.board)
    assert rinfo.resource_class == self.rname.resource_class
    assert rinfo.resource_name == str(self.rname)