def METHOD_NAME(self):
    self.Body = self.Doc.addObject('PartDesign::Body','Body')
    self.Wedge = self.Doc.addObject('PartDesign::AdditiveWedge','Wedge')
    self.Wedge.X2min = 5
    self.Wedge.X2max = 5
    self.Wedge.Z2min = 0
    self.Wedge.Z2max = 10
    self.Body.addObject(self.Wedge)
    self.Doc.recompute()
    self.Wedge001 = self.Doc.addObject('PartDesign::SubtractiveWedge','Wedge001')
    self.Wedge001.Xmin = 1
    self.Wedge001.Xmax = 9
    self.Wedge001.Ymax = 9
    self.Wedge001.X2min = 5
    self.Wedge001.X2max = 5
    self.Wedge001.Z2min = 0
    self.Wedge001.Z2max = 10
    self.Body.addObject(self.Wedge001)
    self.Doc.recompute()
    self.assertAlmostEqual(self.Wedge001.Shape.Volume, 1/2.0 * (10*10 - 9*8) * 10)