(ViewPort.GetTextExtent): Turn this method into what would be a "pure virtual function" in C++: always raise NotImplementedError. Mock implementations for test cases don't belong into the real code