I\'m new to unit testing and PHPUnit, but I\'ve reading a lot lately about design patterns and isolated tests and I\'ve decided to refactor an application I\'m working on to get
You can test it with inheritance.
Just extend House with a FakeHouse for testing, and then check $material, $door and $knob etc. whether they've changed or not after testing.