# mockk

Peter Ertl

05/18/2021, 11:49 AM
does anybody know if mockk v1.11.0 supports mocking inline value classes? it seems it does not…

Mattia Tommasone

05/18/2021, 11:53 AM
nope it doesn’t and it’s a tricky one, because support for mocking inline classes requires the @JvmInline annotation which was introduced in kotlin 1.5. so, besides it not being a trivial implementation, it requires porting mockk to kotlin 1.5 and making sure it remains backwards compatible with projects developed with kotlin 1.4.* and 1.3.* (porting to 1.4 was a bit of a pain already)
i already tried porting to 1.5 but there’s a new test failure i still need to get rid of, so any help would be more than welcome 🙂

Peter Ertl

05/18/2021, 11:54 AM
thanks @Mattia Tommasone
I will try to get my mind around it and support if possible