How should I write Google-Truth Subjects for an object heirarchy that uses interfaces for multiple-inheritance?
The situation I’m writing tests for a personal project (in Java17 using JUnit5/Jupiter and Google Truth ) where I use the multiple-inheritance of interfaces to define classes. For example: Example public interface Taggable { public String getTagName(); public String getSimpleContent(); // … and more } public interface CreatureContainer { public Collection<Creature> getCreatures(); public boolean addCreature(Creature […]