1 Test multiple promise resolution.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS promise1 === promise2 is true
8 PASS batteryInfo is defined.
9 PASS mockBatteryInfo is defined.
10 PASS batteryInfo.charging is mockBatteryInfo.charging
11 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
12 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
13 PASS batteryInfo.level is mockBatteryInfo.level
15 PASS batteryInfo is defined.
16 PASS mockBatteryInfo is defined.
17 PASS batteryInfo.charging is mockBatteryInfo.charging
18 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
19 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
20 PASS batteryInfo.level is mockBatteryInfo.level
21 PASS successfullyParsed is true