install static method

FakeCarPlatform install()

Makes a fake the platform of a fresh TechproCar.instance.

Implementation

static FakeCarPlatform install() {
  final fake = FakeCarPlatform();
  TechproCarPlatform.instance = fake;
  TechproCar.resetForTesting();
  return fake;
}