def METHOD_NAME(self):
    """Check that isValidBaseObject detects solids."""
    box = self.doc.addObject("Part::Box", "Box")
    cylinder = self.doc.addObject("Part::Cylinder", "Cylinder")
    self.doc.recompute()
    self.assertTrue(PathUtil.isValidBaseObject(box))
    self.assertTrue(PathUtil.isValidBaseObject(cylinder))