def METHOD_NAME(self):
    with expected_protocol(
            BasicTestInstrument,
            [],
            connection_attributes={'timeout': 100}
    ) as inst:
        assert inst.adapter.connection.timeout == 100