bbaldino
07/25/2019, 5:42 PMprivate val dummyPacket = mockk<RtpPacket> {
every { this@mockk getProperty "payloadType" } returns originalPayloadType
every { this@mockk getProperty "ssrc" } returns originalSsrc
}
bbaldino
07/25/2019, 9:12 PMmockkClass
instead, which appears to be working better, but still fails for one of the properties. this property is held in the parent class, would that have any affect? it's also of type byte[]
, would that be an issue?bbaldino
07/25/2019, 9:18 PMbbaldino
07/26/2019, 6:06 PM