How do you write tests against
@Model, and other rules? I see that internally, Gradle unit tests casts the
Project instance returned by
ProjectInternal, and then use the
getModelRegistry() to realize and tests the rules.
What is the recommended way for plugin authors to write these tests? If it is to use the
ProjectInternal (at least for now), what is the recommended way in the future?