- Issue created by @afinnarn
- πΊπΈUnited States afinnarn
Turns out that most core field types I've looked at don't provide unit tests, but rather they test at a higher integration level using KernelTestBase.
I am looking at how the LinkItem and PathItem classes are tested, and I think this will turn into tests where you create a content type, add the field, save a node with the field filled in...blah blah. I, of course, need to create an entity to fetch data off of first, but at least kernel tests don't usually have you mocking anything. I still get caught up with mocking/stubbing/spying and all that jazz.