def METHOD_NAME(self):
    self.Body = self.Doc.addObject('PartDesign::Body','Body')
    self.PadSketch = self.Doc.addObject('Sketcher::SketchObject', 'SketchPad')
    self.Body.addObject(self.PadSketch)
    TestSketcherApp.CreateRectangleSketch(self.PadSketch, (0, 0), (10, 10))
    self.Doc.recompute()
    self.Pad = self.Doc.addObject("PartDesign::Pad", "Pad")
    self.Body.addObject(self.Pad)
    self.Pad.Profile = self.PadSketch
    self.Pad.Length = 10
    self.Doc.recompute()
    self.LinearPattern = self.Doc.addObject("PartDesign::LinearPattern","LinearPattern")
    self.LinearPattern.Originals = [self.Pad]
    self.LinearPattern.Direction = (self.PadSketch,["H_Axis"])
    self.LinearPattern.Length = 90.0
    self.LinearPattern.Occurrences = 10
    self.Body.addObject(self.LinearPattern)
    self.Doc.recompute()
    self.assertAlmostEqual(self.LinearPattern.Shape.Volume, 1e4)