def METHOD_NAME(self):
    self.Body = self.Doc.addObject('PartDesign::Body','Body')
    self.Cone = self.Doc.addObject('PartDesign::AdditiveCone','Cone')
    self.Cone.Radius1 = 0
    self.Cone.Radius2 = 4
    self.Cone.Height = 10
    self.Body.addObject(self.Cone)
    self.Doc.recompute()
    self.Cone001 = self.Doc.addObject('PartDesign::SubtractiveCone','Cone')
    self.Cone001.Radius1 = 0
    self.Cone001.Radius2 = 3
    self.Cone001.Height = 10
    self.Body.addObject(self.Cone001)
    self.Doc.recompute()
    self.assertAlmostEqual(self.Cone001.Shape.Volume, 1/3.0 * pi * 10 * (4**2 - 3**2))