The testing of probe logic I have isolated, and now is in a unit test. It tests if the search filter has 'serial number', 'index' and 'port' matching.
I have implemented this in a Static Dispatch way, because DeviceInfo is not mockable.
A small debate is if MatchInformation should return the result of a match -> bool, or a property to match on. I think the property one is for now the best option, but open for oppinions
The testing of probe logic I have isolated, and now is in a unit test. It tests if the search filter has 'serial number', 'index' and 'port' matching.
I have implemented this in a Static Dispatch way, because `DeviceInfo` is not mockable.
A small debate is if `MatchInformation` should return the result of a match `-> bool`, or a property to match on. I think the property one is for now the best option, but open for oppinions