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

		final Calendar calendar = readDateTime(data, 0);
		if (calendar == null) {
			onInvalidDataReceived(device, data);
			return;
		}
		onDateTimeReceived(device, calendar);
	}
@Test
	public void onInvalidDataReceived_dataTooShort() {
		final DataReceivedCallback callback = new DateTimeDataCallback() {
			@Override
			public void onDateTimeReceived(@NonNull final BluetoothDevice device, @NonNull final Calendar calendar) {
				assertEquals("Incorrect Date and Time reported as correct", 1, 2);
			}

			@Override
			public void onInvalidDataReceived(@NonNull final BluetoothDevice device, @NonNull final Data data) {
				assertNotEquals("Incorrect Date and Time size", 7, data.size());
			}
		};
		final Data data = new Data(new byte[] {(byte) 0xE2, 0x07, 4, 17, 15, 51 });
		callback.onDataReceived(null, data);
	}