This is a very common incorrect assumption.
All that a fault code shows is that the signal received at the input to the ECU is out of the expected range. It does not necessarily mean that the sensor providing the signal is at fault. The sensor may well be working correctly and correctly indicating that there is a fault with the fuelling (or some other mechanical aspect of the engine) causing the lambda to be out of range. It could also be faulty wiring or connections.
Somebody mentioned live data, seems like a good way to go.
Having said that, hasn't this age of car got 4 lambdas, and there is a known problem with the pre cat lambdas and a "how to" to fix it? Something to do with moving them. Don't know the details, my car only has 2 lambdas.
I have checked the wires on the black connector under the car and are o.k all 4 sensors tested the same when it was at the garage i am a bit stumped with electrical as i am more machanical, where would i start looking code faults are 0150,0155 bank 2 sensor 1 even when i have changed the sensor Thank you,