@Override
	public void onDataReceived(@NonNull final BluetoothDevice device, @NonNull final Data data) {
		super.onDataReceived(device, data);

		if (data.size() < 1) {
			onInvalidDataReceived(device, data);
			return;
		}

		//noinspection DataFlowIssue
		final int sensorLocation = data.getIntValue(Data.FORMAT_UINT8, 0);
		onBodySensorLocationReceived(device, sensorLocation);
	}
@Test
	public void onInvalidDataReceived() {
		success = false;
		final Data data = new Data();
		response.onDataReceived(null, data);
		assertFalse(response.isValid());
		assertFalse(success);
	}