https://kotlinlang.org logo
#mockk
Title
# mockk
i

ivano

02/14/2020, 2:28 PM
I get an error because the implementation expects that the data class is parcelable, and I cannot mock the @Parcelize
g

gildor

02/19/2020, 3:45 PM
Why do you mock data class? Looks incorrect
And it's indeed will cause problems if you try to write such mocked object to bundle
But anyway, just create a real instance of this data class
i

ivano

03/13/2020, 8:02 AM
thank you @gildor just read sorry for the delay
4 Views