Adding onTransact method for testing

Test: Tested locally for fuzzing
Change-Id: Ieadc20860e1f235b8f7cb6eda40c74d286b3d86b
1 file changed