Searched refs:sMockCar (Results 1 – 2 of 2) sorted by relevance
40 private static Car sMockCar = mock(Car.class); field in ShadowCar54 }).when(sMockCar).connect(); in createCar()58 }).when(sMockCar).disconnect(); in createCar()60 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()63 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()69 return sMockCar; in createCar()77 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()80 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()86 return sMockCar; in createCar()99 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()[all …]
40 private static Car sMockCar = mock(Car.class); field in ShadowCar55 }).when(sMockCar).connect(); in createCar()59 }).when(sMockCar).disconnect(); in createCar()61 doReturn(sIsConnected).when(sMockCar).isConnected(); in createCar()64 doReturn(sCarManager).when(sMockCar).getCarManager(sServiceName); in createCar()70 return sMockCar; in createCar()83 doReturn(carManager).when(sMockCar).getCarManager(serviceName); in setCarManager()95 sMockCar = mock(Car.class); in reset()