@Test
public void testOnCharacteristicChanged() throws NoEnumFoundException {

    // More setup
    byte[] value = {1, 2, 3};
    int index = 1;
    ScratchBank bank = EnumParse.enumWithRawValue(ScratchBank.class, index);
    gstp.setListener(mockListener);
    BluetoothGattCharacteristic mockChar = mock(BluetoothGattCharacteristic.class);
    when(mockChar.getUuid()).thenReturn(Constants.UUID_SCRATCH_CHAR_1);
    when(mockChar.getValue()).thenReturn(value);
    // Test and verify
    gstp.onCharacteristicChanged(mockGattClient, mockChar);
    verify(mockListener).onScratchValueChanged(bank, value);
}