A method and apparatus is described for generating a test case for an application or system modelled using a Stochastic Automata Network model. A movable die 40 is brought into close proximity to the stationary die 44 and these dies are clamped together. The axes of the plurality of shafts are substantially parallel when coupled within the frame.